From cca47053508aa8acd5d2aa898b80a3cd35acd393 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Wed, 18 May 2016 17:14:49 -0600 Subject: [PATCH] fix(style): fixed minor style issues --- cmd/helm/lint.go | 2 +- pkg/client/install.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/helm/lint.go b/cmd/helm/lint.go index 96da3ed81..525015348 100644 --- a/cmd/helm/lint.go +++ b/cmd/helm/lint.go @@ -30,7 +30,7 @@ func init() { RootCommand.AddCommand(lintCommand) } -var errLintNoChart = errors.New("no chart found for linting (missing Chart.yaml).") +var errLintNoChart = errors.New("no chart found for linting (missing Chart.yaml)") func lintCmd(cmd *cobra.Command, args []string) error { path := "." diff --git a/pkg/client/install.go b/pkg/client/install.go index edf992630..ae3a4f6ea 100644 --- a/pkg/client/install.go +++ b/pkg/client/install.go @@ -61,6 +61,7 @@ func (i *Installer) Install(verbose, createNS bool) error { return kube.New(nil).Create(i.Tiller["Namespace"].(string), &b) } +// NamespaceYAML is the installation for a namespace. const NamespaceYAML = ` ---{{$namespace := default "helm" .Tiller.Namespace}} apiVersion: v1