Update CHANGELOG and error for port flag parsing (#926)

* error message change for #912

* add change log
This commit is contained in:
Murugappan Chetty 2020-07-12 12:48:08 -07:00 committed by GitHub
parent ad145a89d8
commit 226e605d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,10 @@
| 🎁 | 🎁
| Add commands to manage Broker resource | Add commands to manage Broker resource
| https://github.com/knative/client/pull/894[#894] | 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) ## v0.15.2 (2020-06-16)

View File

@ -40,7 +40,7 @@ type VolumeSourceType int
const ( const (
ConfigMapVolumeSourceType VolumeSourceType = iota ConfigMapVolumeSourceType VolumeSourceType = iota
SecretVolumeSourceType 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 ( var (