summaryrefslogtreecommitdiff
path: root/test/copyimg/copyimg.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-10-17 16:42:05 -0500
committerbaude <bbaude@redhat.com>2018-10-17 17:04:19 -0500
commitbfc473f982ecdbfbe885d104036ecf9f70f3cd0f (patch)
treec2c4992606864554b346ebbfa7bddc5061bd3bcc /test/copyimg/copyimg.go
parent19c150bef12ff08abc8249cc21275266a7ac74a3 (diff)
downloadpodman-bfc473f982ecdbfbe885d104036ecf9f70f3cd0f.tar.gz
podman-bfc473f982ecdbfbe885d104036ecf9f70f3cd0f.tar.bz2
podman-bfc473f982ecdbfbe885d104036ecf9f70f3cd0f.zip
Vendor in new new buildah/ci
libpod requires new buildah and container image versions to resolve bug #1640298 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/copyimg/copyimg.go')
-rw-r--r--test/copyimg/copyimg.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/copyimg/copyimg.go b/test/copyimg/copyimg.go
index 26100beea..da00964fa 100644
--- a/test/copyimg/copyimg.go
+++ b/test/copyimg/copyimg.go
@@ -160,7 +160,7 @@ func main() {
ctx := context.TODO()
if imageName != "" {
if importFrom != "" {
- err = copy.Image(ctx, policyContext, ref, importRef, options)
+ _, err = copy.Image(ctx, policyContext, ref, importRef, options)
if err != nil {
logrus.Errorf("error importing %s: %v", importFrom, err)
os.Exit(1)
@@ -180,7 +180,7 @@ func main() {
}
}
if exportTo != "" {
- err = copy.Image(ctx, policyContext, exportRef, ref, options)
+ _, err = copy.Image(ctx, policyContext, exportRef, ref, options)
if err != nil {
logrus.Errorf("error exporting %s: %v", exportTo, err)
os.Exit(1)
@@ -188,7 +188,7 @@ func main() {
}
} else {
if importFrom != "" && exportTo != "" {
- err = copy.Image(ctx, policyContext, exportRef, importRef, options)
+ _, err = copy.Image(ctx, policyContext, exportRef, importRef, options)
if err != nil {
logrus.Errorf("error copying %s to %s: %v", importFrom, exportTo, err)
os.Exit(1)