diff options
Diffstat (limited to 'pkg')
-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 174225953..3cd2b879a 100644 --- a/pkg/varlinkapi/images.go +++ b/pkg/varlinkapi/images.go @@ -133,9 +133,9 @@ func (i *LibpodAPI) BuildImage(call iopodman.VarlinkCall, config iopodman.BuildI } if strings.HasPrefix(manifestType, "oci") { - manifestType = imagebuildah.OCIv1ImageFormat + manifestType = buildah.OCIv1ImageManifest } else if strings.HasPrefix(manifestType, "docker") { - manifestType = imagebuildah.Dockerv2ImageFormat + manifestType = buildah.Dockerv2ImageManifest } else { return call.ReplyErrorOccurred(fmt.Sprintf("unrecognized image type %q", manifestType)) } |