Skip to content

Commit

Permalink
Addressing comments from Gonzalo
Browse files Browse the repository at this point in the history
  • Loading branch information
edcdavid committed Nov 27, 2023
1 parent 8f1c824 commit 44818d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cnf-certification-test/accesscontrol/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,7 @@ func IsCSVAndClusterWide(aNamespace, name string, env *provider.TestEnvironment)
// return true if CSV install mode contains multi namespaces or all namespaces
func IsInstallModeMultiNamespace(installModes []v1alpha1.InstallMode) bool {
for i := 0; i < len(installModes); i++ {
if installModes[i].Type == v1alpha1.InstallModeTypeAllNamespaces ||
installModes[i].Type == v1alpha1.InstallModeTypeMultiNamespace {
if installModes[i].Type == v1alpha1.InstallModeTypeAllNamespaces {
return true
}
}
Expand Down

0 comments on commit 44818d3

Please sign in to comment.