fix `helm get manifest` context deadline exceeded error

(cherry picked from commit 87c64e7987)
release-2.9
Matthew Fisher 8 years ago
parent 60abcdca41
commit 73324d5ec9
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -55,9 +55,7 @@ func newGetManifestCmd(client helm.Interface, out io.Writer) *cobra.Command {
return errReleaseRequired return errReleaseRequired
} }
get.release = args[0] get.release = args[0]
if get.client == nil { get.client = ensureHelmClient(get.client)
get.client = helm.NewClient(helm.Host(settings.TillerHost))
}
return get.run() return get.run()
}, },
} }

Loading…
Cancel
Save