summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/delete.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-09-18 15:31:54 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2018-09-18 17:20:30 -0400
commit92b28a88d8bcd5aa50352ecaff844229df1cee59 (patch)
treeb340ddc09d29ae2cf29cb83269bcb614d94a6a10 /vendor/github.com/projectatomic/buildah/delete.go
parentc3a0874222784e8996dbc472b9ca893a80aff451 (diff)
downloadpodman-92b28a88d8bcd5aa50352ecaff844229df1cee59.tar.gz
podman-92b28a88d8bcd5aa50352ecaff844229df1cee59.tar.bz2
podman-92b28a88d8bcd5aa50352ecaff844229df1cee59.zip
Vendor in latest containers/buildah
Switch from projectatomic/buildah to containers/buildah Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/delete.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/delete.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/projectatomic/buildah/delete.go b/vendor/github.com/projectatomic/buildah/delete.go
deleted file mode 100644
index 8de774ff9..000000000
--- a/vendor/github.com/projectatomic/buildah/delete.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package buildah
-
-import (
- "github.com/opencontainers/selinux/go-selinux/label"
- "github.com/pkg/errors"
-)
-
-// Delete removes the working container. The buildah.Builder object should not
-// be used after this method is called.
-func (b *Builder) Delete() error {
- if err := b.store.DeleteContainer(b.ContainerID); err != nil {
- return errors.Wrapf(err, "error deleting build container")
- }
- b.MountPoint = ""
- b.Container = ""
- b.ContainerID = ""
- return label.ReleaseLabel(b.ProcessLabel)
-}