summaryrefslogtreecommitdiff
path: root/service/http/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/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
}