Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
grobinson-grafana committed Jan 15, 2025
1 parent ef3f17c commit bbcce6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/limits/frontend/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ func (cfg Config) RegisterFlags(f *flag.FlagSet) {

func (cfg Config) Validate() error {
return nil
}
}
8 changes: 4 additions & 4 deletions pkg/limits/frontend/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbcce6d

Please sign in to comment.