diff --git a/cmd/skopeo/proxy.go b/cmd/skopeo/proxy.go index a97a6897..c2915163 100644 --- a/cmd/skopeo/proxy.go +++ b/cmd/skopeo/proxy.go @@ -277,7 +277,7 @@ func (h *proxyHandler) openImageImpl(args []any, allowNotFound bool) (retReplyBu return ret, nil } -// OpenImage accepts a string image reference i.e. TRANSPORT:REF - like `skopeo copy`. +// OpenImageOptional accepts a string image reference i.e. TRANSPORT:REF - like `skopeo copy`. // The return value is an opaque integer handle. If the image does not exist, zero // is returned. func (h *proxyHandler) OpenImageOptional(args []any) (replyBuf, error) { diff --git a/integration/openshift.go b/integration/openshift.go index b7a1792b..00b735e4 100644 --- a/integration/openshift.go +++ b/integration/openshift.go @@ -154,7 +154,7 @@ func (cluster *openshiftCluster) prepareRegistryConfig(t *testing.T) { require.Equal(t, "", string(out)) } -// startRegistry starts the OpenShift registry with configPart on port, waits for it to be ready, and returns the process object, or terminates on failure. +// startRegistryProcess starts the OpenShift registry with configPart on port, waits for it to be ready, and returns the process object, or terminates on failure. func (cluster *openshiftCluster) startRegistryProcess(t *testing.T, port uint16, configPath string) *exec.Cmd { cmd := cluster.clusterCmd(map[string]string{ "KUBECONFIG": "openshift.local.registry/openshift-registry.kubeconfig",