mirror of https://github.com/containers/podman.git
image scp: fix typo in output
s/Loaded images(s)/Loaded image(s)/ [NO TESTS NEEDED] (I think we should test the output at some point) Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
e93661f5e7
commit
cc43b51334
|
@ -111,7 +111,7 @@ func scp(cmd *cobra.Command, args []string) (finalErr error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Println("Loaded images(s): " + strings.Join(report.Names, ","))
|
fmt.Println("Loaded image(s): " + strings.Join(report.Names, ","))
|
||||||
case scpOpts.ToRemote: // remote host load
|
case scpOpts.ToRemote: // remote host load
|
||||||
scpOpts.Save.Format = "oci-archive"
|
scpOpts.Save.Format = "oci-archive"
|
||||||
abiErr := abiEng.Save(context.Background(), scpOpts.SourceImageName, []string{}, scpOpts.Save) // save the image locally before loading it on remote, local, or ssh
|
abiErr := abiEng.Save(context.Background(), scpOpts.SourceImageName, []string{}, scpOpts.Save) // save the image locally before loading it on remote, local, or ssh
|
||||||
|
@ -137,7 +137,7 @@ func scp(cmd *cobra.Command, args []string) (finalErr error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Println("Loaded images(s): " + strings.Join(rep.Names, ","))
|
fmt.Println("Loaded image(s): " + strings.Join(rep.Names, ","))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 images(s): docker.io/library/alpine:latest
|
Loaded image(s): docker.io/library/alpine:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
|
|
Loading…
Reference in New Issue