Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: marcolan018 <llan@redhat.com>
  • Loading branch information
marcolan018 committed May 7, 2024
1 parent 9f95b8d commit 3d88f10
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/upgrade/roles/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,15 +690,6 @@ func buildAccountRoleCommandsFromCluster(
return awscb.JoinCommands(commands), nil
}

func checkHasDetachPolicyCommandsForExpectedPolicy(detachedPoliciesCommands []string, policyARN string) bool {
for _, command := range detachedPoliciesCommands {
if strings.Contains(command, policyARN) {
return true
}
}
return false
}

func upgradeOperatorPolicies(
mode string,
r *rosa.Runtime,
Expand Down
1 change: 1 addition & 0 deletions pkg/helper/rolepolicybindings/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"slices"

cmv1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1"

"github.com/openshift/rosa/pkg/aws"
)

Expand Down
1 change: 1 addition & 0 deletions pkg/helper/rolepolicybindings/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
cmv1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1"

"github.com/openshift/rosa/pkg/aws"
)

Expand Down

0 comments on commit 3d88f10

Please sign in to comment.