summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-19 17:50:22 +0000
committerGitHub <[email protected]>2020-07-19 17:50:22 +0000
commitcab2b5f909e3322ae7bdbe7ab9a356e80b6ecc2c (patch)
tree423736fa9dda5451a9871ebfad4f720df3ca6151
parent6f9849754ca13cc0cc7d8bfaee1ed320f3f5d8b4 (diff)
parentca58fa47def412f90b84f40e8def787f0a8dd7e5 (diff)
Merge #343
343: Fixed error message in http/config.go r=48d90782 a=siad007 Closes #331 Co-authored-by: Siad Ardroumli <[email protected]>
-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
}