diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-05-05 20:52:35 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-05 20:02:22 +0000 |
commit | fa4705c03b80f81d0d2dabe82200befcaf2830be (patch) | |
tree | b4b1944aef4bc6d7a2c1b9ab9a04b3f72fc3bb75 /libpod | |
parent | 7b93e7a3fabe9d3413437bf9e6bac4082938ce6b (diff) | |
download | podman-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
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container.go | 2 |
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 |