From 52a2dbaad10b8941d7cf69256550d9b30f230387 Mon Sep 17 00:00:00 2001 From: prima Date: Fri, 22 Mar 2024 06:13:06 +0700 Subject: [PATCH] fix typo s/ectract/extract --- pkg/image/remote/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/image/remote/remote.go b/pkg/image/remote/remote.go index 160b146c03..2baa578b80 100644 --- a/pkg/image/remote/remote.go +++ b/pkg/image/remote/remote.go @@ -54,7 +54,7 @@ func RetrieveRemoteImage(image string, opts config.RegistryOptions, customPlatfo if newRegURLs, found := opts.RegistryMaps[ref.Context().RegistryStr()]; found { for _, regToMapTo := range newRegURLs { - //ectract custom path if any in all registry map and clean regToMapTo to only the registry without the path + //extract custom path if any in all registry map and clean regToMapTo to only the registry without the path custompath, regToMapTo := extractPathFromRegistryURL(regToMapTo) //normalize reference is call in every fallback to ensure that the image is normalized to the new registry include the image prefix ref, err = normalizeReference(ref, image, custompath)