mirror of
https://github.com/containers/podman.git
synced 2025-10-18 19:53:58 +08:00
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
This commit is contained in:

committed by
Atomic Bot

parent
7b93e7a3fa
commit
fa4705c03b
@ -216,7 +216,7 @@ type ContainerConfig struct {
|
|||||||
// Can be specified by name or UID/GID
|
// Can be specified by name or UID/GID
|
||||||
User string `json:"user,omitempty"`
|
User string `json:"user,omitempty"`
|
||||||
// Additional groups to add
|
// Additional groups to add
|
||||||
Groups []string `json:"groups, omitempty"`
|
Groups []string `json:"groups,omitempty"`
|
||||||
|
|
||||||
// Namespace Config
|
// Namespace Config
|
||||||
// IDs of container to share namespaces with
|
// IDs of container to share namespaces with
|
||||||
|
Reference in New Issue
Block a user