Skip to content

Commit

Permalink
fix: use non-empty default value for docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Dec 8, 2023
1 parent ec0a77a commit 6558b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-chaos/cmd/root.go
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ func NewCmd() *cobra.Command {
rootCmd.PersistentFlags().BoolVarP(&JsonLogging, "jsonLogging", "", false, "json logging output")
rootCmd.PersistentFlags().StringVar(&flags.kubeConfigPath, "kubeconfig", "", "path the the kube config that will be used")
rootCmd.PersistentFlags().StringVarP(&flags.namespace, "namespace", "n", "", "connect to the given namespace")
rootCmd.PersistentFlags().StringVarP(&DockerImageTag, "dockerImageTag", "", "", "use the given docker image tag for deployed resources, e.g. worker/starter")
rootCmd.PersistentFlags().StringVarP(&DockerImageTag, "dockerImageTag", "", DockerImageTag, "use the given docker image tag for deployed resources, e.g. worker/starter")

AddBackupCommand(rootCmd, &flags)
AddBrokersCommand(rootCmd, &flags)

0 comments on commit 6558b67

Please sign in to comment.