Commit baf9ae9c authored by Matt Butcher's avatar Matt Butcher

Merge pull request #518 from technosophos/fix/doctor

fix(cli): fix 'helm doctor'
parents 7d6b8254 677df72d
...@@ -42,7 +42,7 @@ func doctor(c *cli.Context) error { ...@@ -42,7 +42,7 @@ func doctor(c *cli.Context) error {
if client.IsInstalled(runner) { if client.IsInstalled(runner) {
format.Success("You have everything you need. Go forth my friend!") format.Success("You have everything you need. Go forth my friend!")
} else { } else {
format.Warning("Looks like you don't have DM installed.\nRun: `helm install`") format.Warning("Looks like you don't have DM installed.\nRun: `helm server install`")
} }
return nil return nil
......
...@@ -34,7 +34,7 @@ func (r RealRunner) GetByKind(kind, name, ns string) (string, error) { ...@@ -34,7 +34,7 @@ func (r RealRunner) GetByKind(kind, name, ns string) (string, error) {
args := []string{"get", kind} args := []string{"get", kind}
if name != "" { if name != "" {
args = append([]string{name}, args...) args = append(args, name)
} }
if ns != "" { if ns != "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment