mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Log: add information statement
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, https://github.com/coreos/etcd/pull/9066
This commit is contained in:
parent
5e78da17fe
commit
8a8aff198f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user