Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Ved Ratan <ved.ratan@nirmata.com>
  • Loading branch information
VedRatan committed Sep 17, 2024
1 parent 42e1d36 commit 20c3598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubebench/kubebench.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func RunJob(params *params.KubeBenchArgs) (*kubebench.OverallControls, error) {
requiredParam := make([]string, 2)
if params.Registry != "aquasec" && params.RegistryUsername == "" {
requiredParam = append(requiredParam, "registry-username")
}
}

if params.Registry != "aquasec" && params.RegistryPassword == "" {
requiredParam = append(requiredParam, "registry-password")
}
Expand Down

0 comments on commit 20c3598

Please # to comment.