Skip to content

Commit

Permalink
use correct error reason
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jan 24, 2025
1 parent 126ac67 commit cc1acf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/k8s/global_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (lbc *LoadBalancerController) syncGlobalConfiguration(task task) {
}

if updateErr != nil {
eventTitle += nl.EventReasonAddedOrUpdatedWithError
eventTitle += nl.EventReasonUpdatedWithError

Check warning on line 101 in internal/k8s/global_configuration.go

View check run for this annotation

Codecov / codecov/patch

internal/k8s/global_configuration.go#L101

Added line #L101 was not covered by tests
eventType = api_v1.EventTypeWarning
eventMessage = fmt.Sprintf("%s; with reload error: %v", eventMessage, updateErr)
}
Expand Down

0 comments on commit cc1acf8

Please sign in to comment.