diff --git a/peer/main.go b/peer/main.go index 36d7769e0b0..cecc0e7f4b3 100644 --- a/peer/main.go +++ b/peer/main.go @@ -85,7 +85,7 @@ func main() { var alternativeCfgPath = os.Getenv("PEER_CFG_PATH") if alternativeCfgPath != "" { - logger.Info("User defined config file path: %s", alternativeCfgPath) + logger.Infof("User defined config file path: %s", alternativeCfgPath) viper.AddConfigPath(alternativeCfgPath) // Path to look for the config file in } else { viper.AddConfigPath("./") // Path to look for the config file in