Skip to content

Commit

Permalink
Update cmd/kops/update_cluster.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
  • Loading branch information
justinsb and hakman authored Feb 17, 2024
1 parent da2c2f6 commit 65388a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kops/update_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func NewCmdUpdateCluster(f *util.Factory, out io.Writer) *cobra.Command {
viper.BindEnv("lifecycle-overrides", "KOPS_LIFECYCLE_OVERRIDES")
cmd.RegisterFlagCompletionFunc("lifecycle-overrides", completeLifecycleOverrides)

cmd.Flags().BoolVar(&options.DoDeferredDeletions, "cleanup-after-upgrade", options.DoDeferredDeletions, "Delete old revisions of cloud resources that were needed during an upgrade")
cmd.Flags().BoolVar(&options.DoDeferredDeletions, "prune", options.DoDeferredDeletions, "Delete old revisions of cloud resources that were needed during an upgrade")

return cmd
}
Expand Down

0 comments on commit 65388a6

Please sign in to comment.