diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-21 13:25:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 13:25:59 -0500 |
commit | 75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5 (patch) | |
tree | 57279aee8328f9d7fc423fbecc8131e4f3cec648 /libpod/container.go | |
parent | 5bdf5aeb71981a4951c039b1c795b24ca31ca705 (diff) | |
parent | e3a549b7b1191a1667373cf60f8d08b96bbce7ba (diff) | |
download | podman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.tar.gz podman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.tar.bz2 podman-75ea3b67c6a5c3b6a3e4b7f5ae173c09c8e9c2d5.zip |
Merge pull request #5213 from mheon/remove_db_imagevol
Remove ImageVolumes from database
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libpod/container.go b/libpod/container.go index 5e5c8ab26..dbd15e55f 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -249,8 +249,6 @@ type ContainerConfig struct { RootfsImageName string `json:"rootfsImageName,omitempty"` // Rootfs to use for the container, this conflicts with RootfsImageID Rootfs string `json:"rootfs,omitempty"` - // Whether to mount volumes specified in the image. - ImageVolumes bool `json:"imageVolumes"` // Src path to be mounted on /dev/shm in container. ShmDir string `json:"ShmDir,omitempty"` // Size of the container's SHM. @@ -510,12 +508,6 @@ func (c *Container) Image() (string, string) { return c.config.RootfsImageID, c.config.RootfsImageName } -// ImageVolumes returns whether the container is configured to create -// persistent volumes requested by the image -func (c *Container) ImageVolumes() bool { - return c.config.ImageVolumes -} - // ShmDir returns the sources path to be mounted on /dev/shm in container func (c *Container) ShmDir() string { return c.config.ShmDir |