Commit 6769a3b1 authored by Sabith K Soopy's avatar Sabith K Soopy Committed by Sabith
parent 6ccb96ff
...@@ -76,7 +76,7 @@ func (c Config) Validate() error { ...@@ -76,7 +76,7 @@ func (c Config) Validate() error {
} }
} }
if len(checkErrors) != 0 { 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 return nil
} }
......
...@@ -47,7 +47,7 @@ func TestInvalidConfiguration(t *testing.T) { ...@@ -47,7 +47,7 @@ func TestInvalidConfiguration(t *testing.T) {
t.Fatal("this configuration should be invalid") t.Fatal("this configuration should be invalid")
} }
got := err.Error() got := err.Error()
wanted := `Invalid Config: wanted := `invalid Config:
- no issuer specified in config file - no issuer specified in config file
- no storage supplied in config file - no storage supplied in config file
- must supply a HTTP/HTTPS address to listen on` - must supply a HTTP/HTTPS address to listen on`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment