mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 00:46:43 +00:00
parent
9dd1a70844
commit
ebcd1787db
@ -387,7 +387,7 @@ func (b *Builder) Build() (rt RuntimeConfig, err error) {
|
||||
return RuntimeConfig{}, fmt.Errorf("No %s address found", addrtyp)
|
||||
}
|
||||
if len(advertiseAddrs) > 1 {
|
||||
return RuntimeConfig{}, fmt.Errorf("Multiple %s addresses found. Please configure one", addrtyp)
|
||||
return RuntimeConfig{}, fmt.Errorf("Multiple %s addresses found. Please configure one with 'bind' and/or 'advertise'.", addrtyp)
|
||||
}
|
||||
advertiseAddr = advertiseAddrs[0]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user