From e0a414a8bda308a0198d3e100c62a4fb31d900fb Mon Sep 17 00:00:00 2001 From: Thomas Newton Date: Thu, 4 Apr 2024 23:32:24 +0100 Subject: [PATCH] Fix lint Signed-off-by: Thomas Newton --- flytepropeller/pkg/controller/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytepropeller/pkg/controller/handler.go b/flytepropeller/pkg/controller/handler.go index 675c82d317..49c2c21549 100644 --- a/flytepropeller/pkg/controller/handler.go +++ b/flytepropeller/pkg/controller/handler.go @@ -230,7 +230,7 @@ func (p *Propeller) Handle(ctx context.Context, namespace, name string) error { } streak := 0 - defer func() { p.metrics.StreakLength.Add(ctx, float64(streak)) }() + defer func() { p.metrics.StreakLength.Add(ctx, float64(streak)) }() maxLength := p.cfg.MaxStreakLength if maxLength <= 0 {