forked from mystiq/dex
Errors should not start with caps
- https://github.com/dexidp/dex/pull/1264#discussion_r253264017 Signed-off-by: Sabith <sabithksme@gmail.com>
This commit is contained in:
parent
6ccb96ff74
commit
6769a3b18e
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ func (c Config) Validate() error {
|
|||
}
|
||||
}
|
||||
if len(checkErrors) != 0 {
|
||||
return fmt.Errorf("Invalid Config:\n\t-\t%s", strings.Join(checkErrors, "\n\t-\t"))
|
||||
return fmt.Errorf("invalid Config:\n\t-\t%s", strings.Join(checkErrors, "\n\t-\t"))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ func TestInvalidConfiguration(t *testing.T) {
|
|||
t.Fatal("this configuration should be invalid")
|
||||
}
|
||||
got := err.Error()
|
||||
wanted := `Invalid Config:
|
||||
wanted := `invalid Config:
|
||||
- no issuer specified in config file
|
||||
- no storage supplied in config file
|
||||
- must supply a HTTP/HTTPS address to listen on`
|
||||
|
|
Loading…
Reference in a new issue