Skip to content

Commit

Permalink
Supress G104
Browse files Browse the repository at this point in the history
Signed-off-by: Shoaeb Jindani <[email protected]>
  • Loading branch information
Shoaeb Jindani committed Sep 20, 2024
1 parent 7c4cb82 commit 1f6c54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/command/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ func CheckForFixPacks(config *rest.Config, operatornamespace string) {
panic(err.Error())
}

util.DeleteConfigMapIfExists(clientset, operatornamespace, consoleObjectName+"-console")
util.DeleteConfigMapIfExists(clientset, operatornamespace, consoleObjectName+"-deployer")
util.DeleteConfigMapIfExists(clientset, operatornamespace, consoleObjectName+"-console") // #nosec G104
util.DeleteConfigMapIfExists(clientset, operatornamespace, consoleObjectName+"-deployer") // #nosec G104

} else {
log.Info("Looks like the operator was restarted...")
Expand Down

0 comments on commit 1f6c54b

Please sign in to comment.