diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-21 15:32:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 15:32:56 -0700 |
commit | ecc5cc532a26b1fa94ec74a264df156501d4f9dd (patch) | |
tree | e63605e3c355e03c361eca02fc837abd713658ce /pkg/varlinkapi | |
parent | 1ff984d509b85d9ededeb5c609bff01210512891 (diff) | |
parent | 9ced2488c953a11007e836403498f7c0892467f5 (diff) | |
download | podman-ecc5cc532a26b1fa94ec74a264df156501d4f9dd.tar.gz podman-ecc5cc532a26b1fa94ec74a264df156501d4f9dd.tar.bz2 podman-ecc5cc532a26b1fa94ec74a264df156501d4f9dd.zip |
Merge pull request #3863 from TomSweeneyRedHat/dev/tsweeney/digestfile2
Add --digestfile option to push
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r-- | pkg/varlinkapi/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/varlinkapi/images.go b/pkg/varlinkapi/images.go index fe7f11b4d..a1fdf5955 100644 --- a/pkg/varlinkapi/images.go +++ b/pkg/varlinkapi/images.go @@ -353,7 +353,7 @@ func (i *LibpodAPI) PushImage(call iopodman.VarlinkCall, name, tag string, compr output := bytes.NewBuffer([]byte{}) c := make(chan error) go func() { - err := newImage.PushImageToHeuristicDestination(getContext(), destname, manifestType, "", "", output, compress, so, &dockerRegistryOptions, nil) + err := newImage.PushImageToHeuristicDestination(getContext(), destname, manifestType, "", "", "", output, compress, so, &dockerRegistryOptions, nil) c <- err close(c) }() @@ -615,7 +615,7 @@ func (i *LibpodAPI) ExportImage(call iopodman.VarlinkCall, name, destination str return err } - if err := newImage.PushImageToHeuristicDestination(getContext(), destination, "", "", "", nil, compress, image.SigningOptions{}, &image.DockerRegistryOptions{}, additionalTags); err != nil { + if err := newImage.PushImageToHeuristicDestination(getContext(), destination, "", "", "", "", nil, compress, image.SigningOptions{}, &image.DockerRegistryOptions{}, additionalTags); err != nil { return call.ReplyErrorOccurred(err.Error()) } return call.ReplyExportImage(newImage.ID()) |