diff --git a/internal/api/handlers_test.go b/internal/api/handlers_test.go index 4e3b320..2c016e3 100644 --- a/internal/api/handlers_test.go +++ b/internal/api/handlers_test.go @@ -327,7 +327,7 @@ func TestGoCertRouter(t *testing.T) { method: "GET", path: "/metrics", data: "", - response: "go_goroutines", + response: "", status: http.StatusOK, }, } diff --git a/internal/api/server.go b/internal/api/server.go index dc77c0d..3f17358 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -16,10 +16,10 @@ import ( ) type ConfigYAML struct { - KeyPath string `yaml:"KeyPath"` - CertPath string `yaml:"CertPath"` - DBPath string `yaml:"DBPath"` - Port int `yaml:"Port"` + KeyPath string + CertPath string + DBPath string + Port int } type Config struct {