From 11730e05b8ca7587b7eaf868f5b44671bacdaf92 Mon Sep 17 00:00:00 2001 From: Jie Yu <390282283@qq.com> Date: Fri, 28 Sep 2018 14:44:47 +0800 Subject: [PATCH] fix error comment Signed-off-by: Jie Yu <390282283@qq.com> --- cmd/helm/helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index 7f2bf369a..4032ea0cd 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -271,7 +271,7 @@ func getInternalKubeClient(context string, kubeconfig string) (internalclientset return client, nil } -// ensureHelmClient returns a new helm client impl. if h is not nil. +// ensureHelmClient returns a new helm client impl. if h is nil. func ensureHelmClient(h helm.Interface) helm.Interface { if h != nil { return h