diff --git a/main.go b/main.go index 85683f680c666a783fc80b07d2ebd66b71f7dad8..700fdc00f8bab601eaf8f14b587cf645b2aeb004 100644 --- a/main.go +++ b/main.go @@ -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)