summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-05-05 20:52:35 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-05 20:02:22 +0000
commitfa4705c03b80f81d0d2dabe82200befcaf2830be (patch)
treeb4b1944aef4bc6d7a2c1b9ab9a04b3f72fc3bb75
parent7b93e7a3fabe9d3413437bf9e6bac4082938ce6b (diff)
downloadpodman-fa4705c03b80f81d0d2dabe82200befcaf2830be.tar.gz
podman-fa4705c03b80f81d0d2dabe82200befcaf2830be.tar.bz2
podman-fa4705c03b80f81d0d2dabe82200befcaf2830be.zip
container.go: fix lint error
the error was: libpod/container.go:219::error: struct field tag `json:"groups, omitempty"` not compatible with reflect.StructTag.Get: suspicious space in struct tag value (vet) Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #729 Approved by: baude
-rw-r--r--libpod/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go
index e35a620ed..d9dd9ad12 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -216,7 +216,7 @@ type ContainerConfig struct {
// Can be specified by name or UID/GID
User string `json:"user,omitempty"`
// Additional groups to add
- Groups []string `json:"groups, omitempty"`
+ Groups []string `json:"groups,omitempty"`
// Namespace Config
// IDs of container to share namespaces with