summaryrefslogtreecommitdiff
path: root/libpod/container_commit.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-29 14:01:52 -0800
committerGitHub <noreply@github.com>2020-01-29 14:01:52 -0800
commiteb283657036f5dc69c926432252768d158989100 (patch)
tree8863767789f946b185e074b032dce2fc0d686385 /libpod/container_commit.go
parent0e21fc88604fd2fc12fbbbf5d0f162081aa5dda2 (diff)
parent5d93c731afd5b21d88c025069da0e82455f09445 (diff)
downloadpodman-eb283657036f5dc69c926432252768d158989100.tar.gz
podman-eb283657036f5dc69c926432252768d158989100.tar.bz2
podman-eb283657036f5dc69c926432252768d158989100.zip
Merge pull request #5018 from mheon/new_anon_field
Deprecate & remove IsCtrSpecific in favor of IsAnon
Diffstat (limited to 'libpod/container_commit.go')
-rw-r--r--libpod/container_commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_commit.go b/libpod/container_commit.go
index ccc23621e..fa6e95b38 100644
--- a/libpod/container_commit.go
+++ b/libpod/container_commit.go
@@ -137,7 +137,7 @@ func (c *Container) Commit(ctx context.Context, destImage string, options Contai
if err != nil {
return nil, errors.Wrapf(err, "volume %s used in container %s has been removed", v.Name, c.ID())
}
- if vol.IsCtrSpecific() {
+ if vol.Anonymous() {
importBuilder.AddVolume(v.Dest)
}
}