Merge pull request #518 from technosophos/fix/doctor

fix(cli): fix 'helm doctor'
pull/521/head
Matt Butcher 9 years ago
commit baf9ae9c78

@ -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) {
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 != "" {

Loading…
Cancel
Save