From c2069f7e8b95d6817878ef1444864aafb1d3c6c4 Mon Sep 17 00:00:00 2001 From: Alan Zhu Date: Sun, 17 May 2020 12:04:30 +0800 Subject: [PATCH] fix status of helm miss revision Signed-off-by: Alan Zhu --- cmd/helm/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/status.go b/cmd/helm/status.go index 6313b3975..2efb2006c 100644 --- a/cmd/helm/status.go +++ b/cmd/helm/status.go @@ -74,7 +74,7 @@ func newStatusCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { 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") flag := f.Lookup("revision")