Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Newton <[email protected]>
  • Loading branch information
Tom-Newton committed Apr 4, 2024
1 parent a80f1df commit e0a414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytepropeller/pkg/controller/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e0a414a

Please sign in to comment.