From ca58fa47def412f90b84f40e8def787f0a8dd7e5 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Sun, 19 Jul 2020 16:36:24 +0200 Subject: Update config.go --- service/http/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3