fix status of helm miss revision

Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
pull/8095/head
Alan Zhu 5 years ago
parent b845aa9805
commit c2069f7e8b
No known key found for this signature in database
GPG Key ID: BE2137AE210EFF5F

@ -74,7 +74,7 @@ func newStatusCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
return compListReleases(toComplete, cfg) return compListReleases(toComplete, cfg)
}) })
f := cmd.PersistentFlags() f := cmd.Flags()
f.IntVar(&client.Version, "revision", 0, "if set, display the status of the named release with revision") f.IntVar(&client.Version, "revision", 0, "if set, display the status of the named release with revision")
flag := f.Lookup("revision") flag := f.Lookup("revision")

Loading…
Cancel
Save