From fa4705c03b80f81d0d2dabe82200befcaf2830be Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 5 May 2018 20:52:35 +0200 Subject: 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 Closes: #729 Approved by: baude --- libpod/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf