From b3d4c6aac796b240f8c43d808de8c7492a8eed27 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 11:26:29 +0200 Subject: [PATCH] opts/ulimit_test.go:11:13: composites: `*github.com/docker/cli/vendor/github.com/docker/go-units.Ulimit` composite literal uses unkeyed fields (govet) Signed-off-by: Silvin Lubecki --- opts/ulimit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opts/ulimit_test.go b/opts/ulimit_test.go index 0aa3facdfb..8fc4d5c555 100644 --- a/opts/ulimit_test.go +++ b/opts/ulimit_test.go @@ -8,7 +8,7 @@ import ( func TestUlimitOpt(t *testing.T) { ulimitMap := map[string]*units.Ulimit{ - "nofile": {"nofile", 1024, 512}, + "nofile": {Name: "nofile", Hard: 1024, Soft: 512}, } ulimitOpt := NewUlimitOpt(&ulimitMap)