Merge pull request #8542 from dellkeji/fix_validateNumColons_docs

bufix: fix validateNumColons docs
pull/8544/head
Martin Hickey 5 years ago committed by GitHub
commit 2a69fb7566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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