fix(style): fixed minor style issues

pull/726/head
Matt Butcher 8 years ago
parent dde6bb37dd
commit cca4705350

@ -30,7 +30,7 @@ func init() {
RootCommand.AddCommand(lintCommand) 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 { func lintCmd(cmd *cobra.Command, args []string) error {
path := "." path := "."

@ -61,6 +61,7 @@ func (i *Installer) Install(verbose, createNS bool) error {
return kube.New(nil).Create(i.Tiller["Namespace"].(string), &b) return kube.New(nil).Create(i.Tiller["Namespace"].(string), &b)
} }
// NamespaceYAML is the installation for a namespace.
const NamespaceYAML = ` const NamespaceYAML = `
---{{$namespace := default "helm" .Tiller.Namespace}} ---{{$namespace := default "helm" .Tiller.Namespace}}
apiVersion: v1 apiVersion: v1

Loading…
Cancel
Save