summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-08-03 17:17:07 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-08-03 17:17:51 +0200
commitcc43b5133474af33ccac24d3eb916d789e2bd714 (patch)
tree72a843aa2fe2fcd66ab826605298657106f8069e /cmd
parente93661f5e765d84893e2ad5a488682c0a67412d0 (diff)
downloadpodman-cc43b5133474af33ccac24d3eb916d789e2bd714.tar.gz
podman-cc43b5133474af33ccac24d3eb916d789e2bd714.tar.bz2
podman-cc43b5133474af33ccac24d3eb916d789e2bd714.zip
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/images/scp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/images/scp.go b/cmd/podman/images/scp.go
index 71399e0b7..a47d01995 100644
--- a/cmd/podman/images/scp.go
+++ b/cmd/podman/images/scp.go
@@ -111,7 +111,7 @@ func scp(cmd *cobra.Command, args []string) (finalErr error) {
if err != nil {
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
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
@@ -137,7 +137,7 @@ func scp(cmd *cobra.Command, args []string) (finalErr error) {
if err != nil {
return err
}
- fmt.Println("Loaded images(s): " + strings.Join(rep.Names, ","))
+ fmt.Println("Loaded image(s): " + strings.Join(rep.Names, ","))
}
return nil
}