Skip to content

Commit

Permalink
Adjust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bjee19 committed Feb 5, 2025
1 parent 597b50d commit 1da4922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mode/static/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func StartManager(cfg config.Config) error {
groupStatusUpdater.Enable,
healthChecker.setAsLeader,
)); err != nil {
return fmt.Errorf("cannot register status updater: %w", err)
return fmt.Errorf("cannot register status updater or set pod as leader: %w", err)

Check warning on line 255 in internal/mode/static/manager.go

View check run for this annotation

Codecov / codecov/patch

internal/mode/static/manager.go#L250-L255

Added lines #L250 - L255 were not covered by tests
}

if cfg.ProductTelemetryConfig.Enabled {
Expand Down

0 comments on commit 1da4922

Please sign in to comment.