Skip to content

Commit

Permalink
change Info to Infof
Browse files Browse the repository at this point in the history
change logger.Info to logger.Infof

Change-Id: I0a3b457d7d5e541a4418a771e2ee0e1066882349
Signed-off-by: xiejunan <[email protected]>
  • Loading branch information
xiejunan committed Aug 19, 2016
1 parent ef8351d commit 843dae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 843dae1

Please sign in to comment.