Skip to content

Commit e5f2e98

Browse files
committed
lint
Signed-off-by: Alan Protasio <[email protected]>
1 parent 530d987 commit e5f2e98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ruler/ruler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func (r *Ruler) starting(ctx context.Context) error {
340340
if r.cfg.EnableSharding {
341341
var err error
342342

343-
if r.subservices, err = services.NewManager(r.lifecycler, r.ring, r.clientsPool, r.allowedTenants); err != nil {
343+
if r.subservices, err = services.NewManager(r.lifecycler, r.ring, r.clientsPool); err != nil {
344344
return errors.Wrap(err, "unable to start ruler subservices")
345345
}
346346

@@ -366,7 +366,7 @@ func (r *Ruler) stopping(_ error) error {
366366
}
367367

368368
services.StopAndAwaitTerminated(context.Background(), r.allowedTenants) //nolint:errcheck
369-
369+
370370
return nil
371371
}
372372

0 commit comments

Comments
 (0)