Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhesh Ghadi <[email protected]>
  • Loading branch information
svghadi committed Jun 13, 2024
1 parent 577eafd commit 4e2a531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ func (mgr *SettingsManager) GetIncludeEventLabelKeys() []string {
labelKeys := []string{}
argoCDCM, err := mgr.getConfigMap()
if err != nil {
log.Error(fmt.Errorf("failed getting configmap: %v", err))
log.Error(fmt.Errorf("failed getting configmap: %w", err))
return labelKeys
}
if value, ok := argoCDCM.Data[resourceIncludeEventLabelKeys]; ok {
Expand All @@ -2246,7 +2246,7 @@ func (mgr *SettingsManager) GetExcludeEventLabelKeys() []string {
labelKeys := []string{}
argoCDCM, err := mgr.getConfigMap()
if err != nil {
log.Error(fmt.Errorf("failed getting configmap: %v", err))
log.Error(fmt.Errorf("failed getting configmap: %w", err))
return labelKeys
}
if value, ok := argoCDCM.Data[resourceExcludeEventLabelKeys]; ok {
Expand Down

0 comments on commit 4e2a531

Please sign in to comment.