Skip to content

Commit

Permalink
Merge pull request #3988 from mheon/fix_lookup_volume
Browse files Browse the repository at this point in the history
Volume lookup needs to include state to unmarshal into
  • Loading branch information
openshift-merge-robot authored Sep 11, 2019
2 parents f73c3b8 + 5ddfe5d commit 79ebb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpod/boltdb_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 79ebb5f

Please sign in to comment.