bufix: fix validateNumColons docs

Signed-off-by: bellkeyang <bellkeyang@tencent.com>
(cherry picked from commit fbc32aea3d)
release-3.3
bellkeyang 5 years ago committed by Matt Farina
parent ffc0aff340
commit 53f68d8b64
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -105,7 +105,7 @@ func (ref *Reference) validateRepo() error {
return err
}
// validateNumColon ensures the ref only contains a single colon character (:)
// validateNumColons ensures the ref only contains a single colon character (:)
// (or potentially two, there might be a port number specified i.e. :5000)
func (ref *Reference) validateNumColons() error {
if strings.Contains(ref.Tag, ":") {

Loading…
Cancel
Save