Adds more info about how to fix the private IP error.

Closes #3790
This commit is contained in:
James Phillips 2018-01-10 09:53:41 -08:00
parent 05fb247a56
commit ff2aae98f4
No known key found for this signature in database
GPG key ID: 77183E682AC5FC11

View file

@ -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]
}