From 57db3c61b4eb29e134b8b26ba12d98d70311b005 Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Tue, 20 Jun 2017 17:17:57 -0700 Subject: [PATCH] De-capitalize error strings. --- cmd/helm/init.go | 2 +- cmd/helm/installer/install.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/helm/init.go b/cmd/helm/init.go index f75402a06..7b672730f 100644 --- a/cmd/helm/init.go +++ b/cmd/helm/init.go @@ -221,7 +221,7 @@ func (i *initCmd) run() error { } return nil default: - return fmt.Errorf("Unknown output format: %s", i.opts.Output) + return fmt.Errorf("unknown output format: %s", i.opts.Output) } } if settings.Debug { diff --git a/cmd/helm/installer/install.go b/cmd/helm/installer/install.go index 43822ef36..b1f9a6080 100644 --- a/cmd/helm/installer/install.go +++ b/cmd/helm/installer/install.go @@ -136,7 +136,7 @@ func parseNodeSelectorsInto(labels string, m map[string]string) error { if len(el) == 2 { m[el[0]] = el[1] } else { - return fmt.Errorf("Invalid nodeSelector label: %s", kv) + return fmt.Errorf("invalid nodeSelector label: %s", kv) } } return nil