summaryrefslogtreecommitdiff
path: root/libpod/volume.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/volume.go')
-rw-r--r--libpod/volume.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/libpod/volume.go b/libpod/volume.go
index 026a3bf49..b732e8aa7 100644
--- a/libpod/volume.go
+++ b/libpod/volume.go
@@ -1,6 +1,6 @@
package libpod
-import "github.com/containers/libpod/libpod/lock"
+import "github.com/containers/storage"
// Volume is the type used to create named volumes
// TODO: all volumes should be created using this and the Volume API
@@ -9,17 +9,13 @@ type Volume struct {
valid bool
runtime *Runtime
- lock lock.Locker
+ lock storage.Locker
}
// VolumeConfig holds the volume's config information
//easyjson:json
type VolumeConfig struct {
- // Name of the volume
- Name string `json:"name"`
- // ID of this volume's lock
- LockID uint32 `json:"lockID"`
-
+ Name string `json:"name"`
Labels map[string]string `json:"labels"`
MountPoint string `json:"mountPoint"`
Driver string `json:"driver"`