From f5d898b0254f721c0d4eb9c6ec2089254eb6b906 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 29 Nov 2020 05:52:52 +0500 Subject: [PATCH] Little linting fixes. --- internal/application/fetcher.go | 2 +- internal/httpserver/httpserver.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/application/fetcher.go b/internal/application/fetcher.go index 0da1922..36cef5b 100644 --- a/internal/application/fetcher.go +++ b/internal/application/fetcher.go @@ -65,7 +65,7 @@ func (a *Application) fetch() { func (a *Application) startFetcher() { fetchTicker := time.NewTicker(a.config.TimeBetweenRequests) - // nolint:exaustivestruct + // nolint:exhaustivestruct a.httpClient = &http.Client{ Timeout: time.Second * 5, } diff --git a/internal/httpserver/httpserver.go b/internal/httpserver/httpserver.go index 5009241..40260c0 100644 --- a/internal/httpserver/httpserver.go +++ b/internal/httpserver/httpserver.go @@ -41,7 +41,7 @@ func (h *HTTPServer) getRequestContext(_ net.Listener) context.Context { func (h *HTTPServer) initialize() { h.handler = &handler{} // We do not need to specify all possible parameters for HTTP server, so: - // nolint:exaustivestruct + // nolint:exhaustivestruct h.server = &http.Server{ // ToDo: make it all configurable. Addr: ":34421",