Skip to content

Commit

Permalink
Log: add information statement
Browse files Browse the repository at this point in the history
Adding information that when config file is used other command line flags
and env variables will be ignored. This changes are a follow up of a
disucssion under PR,
#9066
  • Loading branch information
spzala committed Dec 27, 2017
1 parent 5e78da1 commit 8a8aff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdmain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (cfg *config) parse(arguments []string) error {

var err error
if cfg.configFile != "" {
plog.Infof("Loading server configuration from %q", cfg.configFile)
plog.Infof("Loading server configuration from %q. Other configuration command line flags and environment variables will be ignored if provided.", cfg.configFile)
err = cfg.configFromFile(cfg.configFile)
} else {
err = cfg.configFromCmdLine()
Expand Down

0 comments on commit 8a8aff1

Please sign in to comment.