fix(cmd): fix lazy load client

pull/921/head
Adam Reese 9 years ago
parent 6453c99241
commit e339cc7e0c

@ -65,7 +65,10 @@ type listCmd struct {
} }
func newListCmd(client helm.Interface, out io.Writer) *cobra.Command { func newListCmd(client helm.Interface, out io.Writer) *cobra.Command {
list := &listCmd{out: out} list := &listCmd{
out: out,
client: client,
}
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "list [flags] [FILTER]", Use: "list [flags] [FILTER]",
Short: "list releases", Short: "list releases",

Loading…
Cancel
Save