Merge pull request #14460 from cipherboy/align-docker-podman-load-output
Align docker load and podman load output
This commit is contained in:
commit
5e15a26e0e
|
|
@ -110,6 +110,6 @@ func load(cmd *cobra.Command, args []string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Println("Loaded image(s): " + strings.Join(response.Names, ","))
|
fmt.Println("Loaded image: " + strings.Join(response.Names, "\nLoaded image: "))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ Suppress the output
|
||||||
|
|
||||||
```
|
```
|
||||||
$ podman image scp alpine
|
$ podman image scp alpine
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -43,12 +43,12 @@ Copying blob 72e830a4dff5 done
|
||||||
Copying config 85f9dc67c7 done
|
Copying config 85f9dc67c7 done
|
||||||
Writing manifest to image destination
|
Writing manifest to image destination
|
||||||
Storing signatures
|
Storing signatures
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
$ podman image scp Fedora::alpine RHEL::
|
$ podman image scp Fedora::alpine RHEL::
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -59,7 +59,7 @@ Copying blob 9450ef9feb15 [--------------------------------------] 0.0b / 0.0b
|
||||||
Copying config 1f97f0559c done
|
Copying config 1f97f0559c done
|
||||||
Writing manifest to image destination
|
Writing manifest to image destination
|
||||||
Storing signatures
|
Storing signatures
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -73,7 +73,7 @@ Copying blob 5eb901baf107 skipped: already exists
|
||||||
Copying config 696d33ca15 done
|
Copying config 696d33ca15 done
|
||||||
Writing manifest to image destination
|
Writing manifest to image destination
|
||||||
Storing signatures
|
Storing signatures
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -87,7 +87,7 @@ Copying blob 5eb901baf107
|
||||||
Copying config 696d33ca15 done
|
Copying config 696d33ca15 done
|
||||||
Writing manifest to image destination
|
Writing manifest to image destination
|
||||||
Storing signatures
|
Storing signatures
|
||||||
Loaded image(s): docker.io/library/alpine:latest
|
Loaded image: docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ verify_iid_and_name() {
|
||||||
run_podman untag $IMAGE $newname
|
run_podman untag $IMAGE $newname
|
||||||
run_podman image scp -q ${notme}@localhost::$newname
|
run_podman image scp -q ${notme}@localhost::$newname
|
||||||
|
|
||||||
expect="Loaded image(s): $newname"
|
expect="Loaded image: $newname"
|
||||||
is "$output" "$expect" "-q silences output"
|
is "$output" "$expect" "-q silences output"
|
||||||
|
|
||||||
# Confirm that we have it, and that its digest matches our original
|
# Confirm that we have it, and that its digest matches our original
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue