Skip to content

Commit

Permalink
embed: return error when advertise-client-urls are with empty hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
harryge00 committed Oct 28, 2017
1 parent 87ad10c commit 4a8def7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embed/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ func (cfg *Config) Validate() error {
addrs[i] = cfg.ACUrls[i].String()
}
plog.Warningf("advertise-client-urls %q is deprecated (%v)", strings.Join(addrs, ","), err)
return err
}

// Check if conflicting flags are passed.
Expand Down

0 comments on commit 4a8def7

Please sign in to comment.