Skip to content

Commit

Permalink
Merge "Fix error logging in npConfigure"
Browse files Browse the repository at this point in the history
  • Loading branch information
Microzuul CI authored and Gerrit Code Review committed Jan 16, 2024
2 parents f6f785c + 517269c commit 92977f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ func npConfigure(kmd *cobra.Command, args []string) {
}
cloudsContent, err := getFileContent(cloudsFile)
if err != nil {
ctrl.Log.Error(err, "Error opening %s", cloudsContent)
ctrl.Log.Error(err, "Error opening %s", cloudsFile)
os.Exit(1)
}
kubeContent, err := getFileContent(kubeFile)
if err != nil {
ctrl.Log.Error(err, "Error opening %s", kubeContent)
ctrl.Log.Error(err, "Error opening %s", kubeFile)
os.Exit(1)
}
ensureNodepoolProvidersSecrets(ns, kubeContext, cloudsContent, kubeContent)
Expand Down

0 comments on commit 92977f3

Please sign in to comment.