From bbcce6d4fc454c3fb11bbf9ebb71283904041e4e Mon Sep 17 00:00:00 2001 From: George Robinson Date: Wed, 15 Jan 2025 23:03:02 +0000 Subject: [PATCH] Fix lint --- pkg/limits/frontend/config.go | 2 +- pkg/limits/frontend/frontend.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/limits/frontend/config.go b/pkg/limits/frontend/config.go index ca71693cbbc54..342a2fe3e7712 100644 --- a/pkg/limits/frontend/config.go +++ b/pkg/limits/frontend/config.go @@ -16,4 +16,4 @@ func (cfg Config) RegisterFlags(f *flag.FlagSet) { func (cfg Config) Validate() error { return nil -} \ No newline at end of file +} diff --git a/pkg/limits/frontend/frontend.go b/pkg/limits/frontend/frontend.go index 5328dea6c0fb1..284500d82dc82 100644 --- a/pkg/limits/frontend/frontend.go +++ b/pkg/limits/frontend/frontend.go @@ -12,14 +12,14 @@ import ( type Frontend struct { services.Service - cfg Config - logger log.Logger - client IngestLimitsClient + cfg Config + logger log.Logger + client IngestLimitsClient } func NewFrontend(cfg Config, logger log.Logger) (*Frontend, error) { f := &Frontend{ - cfg: cfg, + cfg: cfg, logger: logger, } f.Service = services.NewBasicService(f.starting, f.running, f.stopping)