Skip to content

Commit

Permalink
Update config.go, deprecated log.Criticalf
Browse files Browse the repository at this point in the history
  • Loading branch information
co-kevin committed May 24, 2018
1 parent 00f93bd commit f694c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type eureka struct {
func ReadConfig(loc string) (conf Config, err error) {
err = gcfg.ReadFileInto(&conf, loc)
if err != nil {
log.Criticalf("Unable to read config file Error: %s", err.Error())
log.Warningf("Unable to read config file Error: %s", err.Error())
return conf, err
}
conf.fillDefaults()
Expand Down

0 comments on commit f694c4c

Please sign in to comment.