From 7eadec6eefb33b5fff310cc0b70375f75c7182e9 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Thu, 27 Jun 2019 22:56:24 +0800 Subject: [PATCH] Fix: log correctly path --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 6107bde5..9253dd5f 100644 --- a/config/config.go +++ b/config/config.go @@ -116,7 +116,7 @@ func readConfig(path string) (*rawConfig, error) { } if len(data) == 0 { - return nil, fmt.Errorf("Configuration file %s is empty", C.Path.Config()) + return nil, fmt.Errorf("Configuration file %s is empty", path) } // config with some default value