De-capitalize error strings.

reviewable/pr2557/r10
Justin Scott 8 years ago
parent 50e4d40166
commit 57db3c61b4

@ -221,7 +221,7 @@ func (i *initCmd) run() error {
} }
return nil return nil
default: default:
return fmt.Errorf("Unknown output format: %s", i.opts.Output) return fmt.Errorf("unknown output format: %s", i.opts.Output)
} }
} }
if settings.Debug { if settings.Debug {

@ -136,7 +136,7 @@ func parseNodeSelectorsInto(labels string, m map[string]string) error {
if len(el) == 2 { if len(el) == 2 {
m[el[0]] = el[1] m[el[0]] = el[1]
} else { } else {
return fmt.Errorf("Invalid nodeSelector label: %s", kv) return fmt.Errorf("invalid nodeSelector label: %s", kv)
} }
} }
return nil return nil

Loading…
Cancel
Save