From 677df72dda2d3373ba8f59ca8d9c9fab36d3ff9a Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Wed, 30 Mar 2016 11:43:17 -0600 Subject: [PATCH] fix(cli): fix 'helm doctor' Rather than remove 'helm doctor' for MVP, I just fixed the one small bug that was preventing it from working. --- cmd/helm/doctor.go | 2 +- pkg/kubectl/get.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helm/doctor.go b/cmd/helm/doctor.go index 4335e6b69..6afda12ac 100644 --- a/cmd/helm/doctor.go +++ b/cmd/helm/doctor.go @@ -42,7 +42,7 @@ func doctor(c *cli.Context) error { if client.IsInstalled(runner) { format.Success("You have everything you need. Go forth my friend!") } 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 diff --git a/pkg/kubectl/get.go b/pkg/kubectl/get.go index 9b2e13852..e618ff6c4 100644 --- a/pkg/kubectl/get.go +++ b/pkg/kubectl/get.go @@ -34,7 +34,7 @@ func (r RealRunner) GetByKind(kind, name, ns string) (string, error) { args := []string{"get", kind} if name != "" { - args = append([]string{name}, args...) + args = append(args, name) } if ns != "" {