diff --git a/internal/config/config.go b/internal/config/config.go index 0d0ebca72..397b8bd16 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -124,7 +124,7 @@ type AgentConfig struct { OmitHostname bool // - WebhookServiceAddress string + WebhookServiceAddress string } // Inputs returns a list of strings of the configured inputs. diff --git a/internal/webserver/webserver.go b/internal/webserver/webserver.go index 07909c339..ad574ca86 100644 --- a/internal/webserver/webserver.go +++ b/internal/webserver/webserver.go @@ -10,11 +10,11 @@ import ( type Webserver struct { ServiceAddress string - router *mux.Router + router *mux.Router } func NewWebserver() *Webserver { - return &Webserver{router:mux.NewRouter()} + return &Webserver{router: mux.NewRouter()} } func (wb *Webserver) Router() *mux.Router {