Skip to content

Commit

Permalink
Fix error message related to the helper-pod-file flag
Browse files Browse the repository at this point in the history
  • Loading branch information
elek authored and yasker committed Nov 2, 2020
1 parent 31496fd commit 9bd5f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func startDaemon(c *cli.Context) error {
if helperPodFile == "" {
helperPodYaml, err = findConfigFileFromConfigMap(kubeClient, namespace, configMapName, DefaultHelperPodFile)
if err != nil {
return fmt.Errorf("invalid empty flag %v and it also does not exist at ConfigMap %v/%v with err: %v", FlagConfigFile, namespace, configMapName, err)
return fmt.Errorf("invalid empty flag %v and it also does not exist at ConfigMap %v/%v with err: %v", FlagHelperPodFile, namespace, configMapName, err)
}
} else {
helperPodYaml, err = loadFile(helperPodFile)
Expand Down

0 comments on commit 9bd5f48

Please sign in to comment.