From fbc32aea3d43853f94768e4bc7bc4045fe9fb749 Mon Sep 17 00:00:00 2001 From: bellkeyang Date: Fri, 31 Jul 2020 20:39:38 +0800 Subject: [PATCH] bufix: fix validateNumColons docs Signed-off-by: bellkeyang --- internal/experimental/registry/reference.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/experimental/registry/reference.go b/internal/experimental/registry/reference.go index ebab29a7e..f0e91d4ba 100644 --- a/internal/experimental/registry/reference.go +++ b/internal/experimental/registry/reference.go @@ -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, ":") {