Update redirect address error to be more clear

This commit is contained in:
Jeff Mitchell 2018-01-04 10:45:40 -05:00
parent fd424c74ba
commit 6681329041
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ type CoreConfig struct {
func NewCore(conf *CoreConfig) (*Core, error) {
if conf.HAPhysical != nil && conf.HAPhysical.HAEnabled() {
if conf.RedirectAddr == "" {
return nil, fmt.Errorf("missing redirect address")
return nil, fmt.Errorf("missing API address, please set in configuration or via environment")
}
}