mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-31 02:07:42 +00: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:
parent
7b93e7a3fa
commit
fa4705c03b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue