chore: fix some function names in comment

Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
luozexuan 2025-03-30 16:19:50 +08:00
parent 610f30db60
commit b6b6415286
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ func (h *proxyHandler) openImageImpl(args []any, allowNotFound bool) (retReplyBu
return ret, nil 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 // The return value is an opaque integer handle. If the image does not exist, zero
// is returned. // is returned.
func (h *proxyHandler) OpenImageOptional(args []any) (replyBuf, error) { func (h *proxyHandler) OpenImageOptional(args []any) (replyBuf, error) {

View File

@ -154,7 +154,7 @@ func (cluster *openshiftCluster) prepareRegistryConfig(t *testing.T) {
require.Equal(t, "", string(out)) 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 { func (cluster *openshiftCluster) startRegistryProcess(t *testing.T, port uint16, configPath string) *exec.Cmd {
cmd := cluster.clusterCmd(map[string]string{ cmd := cluster.clusterCmd(map[string]string{
"KUBECONFIG": "openshift.local.registry/openshift-registry.kubeconfig", "KUBECONFIG": "openshift.local.registry/openshift-registry.kubeconfig",