diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-04-03 19:49:09 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-04-04 12:27:20 -0400 |
commit | 1fdc89f616fead07b9b49e949f7c7cebba951070 (patch) | |
tree | 533be88fa82f9dd57409428c8ef41f24acd78a8e /libpod/container.go | |
parent | 42c95eed2cedc1769987984a073e2ec71970e123 (diff) | |
download | podman-1fdc89f616fead07b9b49e949f7c7cebba951070.tar.gz podman-1fdc89f616fead07b9b49e949f7c7cebba951070.tar.bz2 podman-1fdc89f616fead07b9b49e949f7c7cebba951070.zip |
Drop LocalVolumes from our the database
We were never using it. It's actually a potentially quite sizable
field (very expensive to decode an array of structs!). Removing
it should do no harm.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/container.go b/libpod/container.go index 74dc5be5c..6d5e063ab 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -356,9 +356,6 @@ type ContainerConfig struct { // ExitCommand is the container's exit command. // This Command will be executed when the container exits ExitCommand []string `json:"exitCommand,omitempty"` - // LocalVolumes are the built-in volumes we get from the --volumes-from flag - // It picks up the built-in volumes of the container used by --volumes-from - LocalVolumes []spec.Mount // IsInfra is a bool indicating whether this container is an infra container used for // sharing kernel namespaces in a pod IsInfra bool `json:"pause"` |