Skip to content

Commit

Permalink
rename policy ids
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedhammam committed Feb 16, 2023
1 parent e9b4165 commit c8a7048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/policyconfig_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ func (pc *PolicyConfigController) SetupWithManager(mgr ctrl.Manager) error {
if !ok {
return nil
}
policyIDS := []string{}
policyIDs := []string{}
for policyID := range policyConfig.Spec.Config {
policyIDS = append(policyIDS, policyID)
policyIDs = append(policyIDs, policyID)
}
return policyIDS
return policyIDs
})

if err != nil {
Expand Down

0 comments on commit c8a7048

Please sign in to comment.