summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-17 20:25:18 +0200
committerGitHub <noreply@github.com>2020-06-17 20:25:18 +0200
commitd97b5b04aa9f3387ed949855c1b866713bb42b1a (patch)
tree6acf0e48b9b268d754d38fa31153c75124dc8298 /pkg
parent96b4421723eb2db0f15680477eaa7ae5f588e4b9 (diff)
parente867fe5c3e448e6ec9793a653bd2377b75f91dd9 (diff)
downloadpodman-d97b5b04aa9f3387ed949855c1b866713bb42b1a.tar.gz
podman-d97b5b04aa9f3387ed949855c1b866713bb42b1a.tar.bz2
podman-d97b5b04aa9f3387ed949855c1b866713bb42b1a.zip
Merge pull request #6630 from ashley-cui/master
Show Anon, GID, UID in v2 volumes
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/entities/volumes.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/domain/entities/volumes.go b/pkg/domain/entities/volumes.go
index 7cf7d82a2..c99b39f2d 100644
--- a/pkg/domain/entities/volumes.go
+++ b/pkg/domain/entities/volumes.go
@@ -47,13 +47,13 @@ type VolumeConfigResponse struct {
// It is presently not used.
Options map[string]string `json:"Options"`
// UID is the UID that the volume was created with.
- UID int `json:"UID,omitempty"`
+ UID int `json:"UID"`
// GID is the GID that the volume was created with.
- GID int `json:"GID,omitempty"`
+ GID int `json:"GID"`
// Anonymous indicates that the volume was created as an anonymous
// volume for a specific container, and will be be removed when any
// container using it is removed.
- Anonymous bool `json:"Anonymous,omitempty"`
+ Anonymous bool `json:"Anonymous"`
}
type VolumeRmOptions struct {