You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/01/21 08:51:06 UTC

[camel-k] 02/02: Fix comment.

This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 5b08073054a43ee170e48e2e8329826a30984e42
Author: Doru Bercea <gh...@ibm.com>
AuthorDate: Wed Jan 20 18:09:00 2021 -0500

    Fix comment.
---
 pkg/util/docker/docker.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/docker/docker.go b/pkg/util/docker/docker.go
index 6a777d3..812d8f1 100644
--- a/pkg/util/docker/docker.go
+++ b/pkg/util/docker/docker.go
@@ -153,6 +153,6 @@ func ExtractRegistryName(image string) (string, error) {
 		return "", errors.New("image path is too short, usage: registry/imageName or registry/*/imageName")
 	}
 
-	// Register name is given by the path to the image.
+	// Registry name is given by the path to the image.
 	return strings.Join(pathComponents[0:len(pathComponents)-1], containerFileSeparator), nil
 }