Little linting fixes.
This commit is contained in:
parent
aaaebaa95a
commit
f5d898b025
@ -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,
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user