diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 491ffc7ec..ba7bcd517 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -37,6 +37,10 @@ | 🎁 | Add commands to manage Broker resource | https://github.com/knative/client/pull/894[#894] + +| 🐣 +| Refactor port field to accept port name and port +| https://github.com/knative/client/pull/915[#915] |=== ## v0.15.2 (2020-06-16) diff --git a/pkg/serving/config_changes.go b/pkg/serving/config_changes.go index 343610e40..bbabb41e5 100644 --- a/pkg/serving/config_changes.go +++ b/pkg/serving/config_changes.go @@ -40,7 +40,7 @@ type VolumeSourceType int const ( ConfigMapVolumeSourceType VolumeSourceType = iota SecretVolumeSourceType - PortFormatErr = "The port specification '%s' is not valid. Please provide in the format 'NAME:PORT', where 'NAME' is optional. Examples: '--port h2c:8080' , '--port 8080'." + PortFormatErr = "the port specification '%s' is not valid. Please provide in the format 'NAME:PORT', where 'NAME' is optional. Examples: '--port h2c:8080' , '--port 8080'." ) var (