From f7e72bc86aff2ff986290f190309deceb7f22099 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 22 Mar 2019 12:15:26 +0100 Subject: volumes: push the chown logic to runtime_volume_linux.go Signed-off-by: Giuseppe Scrivano --- libpod/volume.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/volume.go') diff --git a/libpod/volume.go b/libpod/volume.go index 0c7618841..0b37d44ef 100644 --- a/libpod/volume.go +++ b/libpod/volume.go @@ -21,6 +21,8 @@ type VolumeConfig struct { Options map[string]string `json:"options"` Scope string `json:"scope"` IsCtrSpecific bool `json:"ctrSpecific"` + UID int `json:"uid"` + GID int `json:"gid"` } // Name retrieves the volume's name -- cgit v1.2.3-54-g00ecf