@@ -391,7 +391,7 @@ func (loglevel *Loglevel) UnmarshalYAML(unmarshal func(interface{}) error) error
391391 switch loglevelString {
392392 case "error" , "warn" , "info" , "debug" :
393393 default :
394- return fmt .Errorf ("Invalid loglevel %s Must be one of [error, warn, info, debug]" , loglevelString )
394+ return fmt .Errorf ("invalid loglevel %s Must be one of [error, warn, info, debug]" , loglevelString )
395395 }
396396
397397 * loglevel = Loglevel (loglevelString )
@@ -466,7 +466,7 @@ func (storage *Storage) UnmarshalYAML(unmarshal func(interface{}) error) error {
466466 }
467467
468468 if len (types ) > 1 {
469- return fmt .Errorf ("Must provide exactly one storage type. Provided: %v" , types )
469+ return fmt .Errorf ("must provide exactly one storage type. Provided: %v" , types )
470470 }
471471 }
472472 * storage = storageMap
@@ -668,11 +668,11 @@ func Parse(rd io.Reader) (*Configuration, error) {
668668 v0_1 .Loglevel = Loglevel ("" )
669669 }
670670 if v0_1 .Storage .Type () == "" {
671- return nil , errors .New ("No storage configuration provided" )
671+ return nil , errors .New ("no storage configuration provided" )
672672 }
673673 return (* Configuration )(v0_1 ), nil
674674 }
675- return nil , fmt .Errorf ("Expected *v0_1Configuration, received %#v" , c )
675+ return nil , fmt .Errorf ("expected *v0_1Configuration, received %#v" , c )
676676 },
677677 },
678678 })
0 commit comments