diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-29 14:01:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 14:01:52 -0800 |
commit | eb283657036f5dc69c926432252768d158989100 (patch) | |
tree | 8863767789f946b185e074b032dce2fc0d686385 /libpod/container_commit.go | |
parent | 0e21fc88604fd2fc12fbbbf5d0f162081aa5dda2 (diff) | |
parent | 5d93c731afd5b21d88c025069da0e82455f09445 (diff) | |
download | podman-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.go | 2 |
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) } } |