From 8fd8ff21941326b788e752e0789213ef8ca2472e Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 2 Dec 2024 10:58:57 +0100 Subject: [PATCH] OZG-6747 resolve comments --- README.md | 1 - config/config.yml | 2 -- internal/config/config_test.go | 1 - 3 files changed, 4 deletions(-) diff --git a/README.md b/README.md index 1519d1c..461fea0 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ setting ACTIVE_PROFILE=local will load the config-local.yml [Config-Datei](./config/config-local.yml) - ``` server: port: Port des HTTP Servers (int) diff --git a/config/config.yml b/config/config.yml index ff630ca..0613600 100755 --- a/config/config.yml +++ b/config/config.yml @@ -1,6 +1,4 @@ server: port: 8082 -grpc: - mock: false logging: level: "INFO" \ No newline at end of file diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 9312466..d8e2346 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -52,7 +52,6 @@ func TestLoadConfig(t *testing.T) { assert.NoError(t, os.Unsetenv(activeProfileParam), "Unsetenv "+activeProfileParam+" should not return an error") expectedConfig := Config{} - expectedConfig.Server.Port = 8082 expectedConfig.Grpc.Url = "localhost:50051" expectedConfig.Logging.Level = "DEBUG" -- GitLab