summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiad Ardroumli <[email protected]>2020-07-19 16:36:24 +0200
committerGitHub <[email protected]>2020-07-19 16:36:24 +0200
commitca58fa47def412f90b84f40e8def787f0a8dd7e5 (patch)
tree423736fa9dda5451a9871ebfad4f720df3ca6151
parent6f9849754ca13cc0cc7d8bfaee1ed320f3f5d8b4 (diff)
Update config.go
-rw-r--r--service/http/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/config.go b/service/http/config.go
index b87b938f..00f61652 100644
--- a/service/http/config.go
+++ b/service/http/config.go
@@ -252,7 +252,7 @@ func (c *Config) Valid() error {
if c.SSL.RootCA != "" {
if _, err := os.Stat(c.SSL.RootCA); err != nil {
if os.IsNotExist(err) {
- return fmt.Errorf("root ca path provided, but key file '%s' does not exists", c.SSL.Key)
+ return fmt.Errorf("root ca path provided, but path '%s' does not exists", c.SSL.RootCA)
}
return err
}