diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-09-11 18:17:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 18:17:30 +0200 |
commit | 79ebb5f254d6f3498500f823cf1b856fed2e6149 (patch) | |
tree | 6cdda602374572476506cb121f2a3302c0fb6249 | |
parent | f73c3b868de36454bc8affeb63b4dc6f2c6da351 (diff) | |
parent | 5ddfe5d95de894919b82f68603f08984342c1f58 (diff) | |
download | podman-79ebb5f254d6f3498500f823cf1b856fed2e6149.tar.gz podman-79ebb5f254d6f3498500f823cf1b856fed2e6149.tar.bz2 podman-79ebb5f254d6f3498500f823cf1b856fed2e6149.zip |
Merge pull request #3988 from mheon/fix_lookup_volume
Volume lookup needs to include state to unmarshal into
-rw-r--r-- | libpod/boltdb_state.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index 4e7f78f13..a6fd9a7d8 100644 --- a/libpod/boltdb_state.go +++ b/libpod/boltdb_state.go @@ -1749,6 +1749,7 @@ func (s *BoltState) LookupVolume(name string) (*Volume, error) { volume := new(Volume) volume.config = new(VolumeConfig) + volume.state = new(VolumeState) db, err := s.getDBCon() if err != nil { |