mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 02:51:02 +00:00
chore: fix some function names in comment
Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
parent
610f30db60
commit
b6b6415286
@ -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) {
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user