diff --git a/api/config.go b/api/config.go index 6354653..77ee884 100644 --- a/api/config.go +++ b/api/config.go @@ -39,9 +39,9 @@ func getDefaultListenAddress() string { func registerConfig() error { err := config.Register(&config.Option{ - Name: "API Address", + Name: "API Listen Address", Key: CfgDefaultListenAddressKey, - Description: "Defines the IP address and port for the internal API.", + Description: "Defines the IP address and port on which the internal API listens.", OptType: config.OptTypeString, ExpertiseLevel: config.ExpertiseLevelDeveloper, ReleaseLevel: config.ReleaseLevelStable, diff --git a/api/main.go b/api/main.go index 9b7fdc3..64d2fc3 100644 --- a/api/main.go +++ b/api/main.go @@ -24,7 +24,7 @@ func init() { func prep() error { if getDefaultListenAddress() == "" { - return errors.New("no listen address for api available") + return errors.New("no default listen address for api available") } return registerConfig() }