diff --git a/opts/ulimit_test.go b/opts/ulimit_test.go index e72be7a813..3845d1ec18 100644 --- a/opts/ulimit_test.go +++ b/opts/ulimit_test.go @@ -11,7 +11,7 @@ func TestUlimitOpt(t *testing.T) { "nofile": {"nofile", 1024, 512}, } - ulimitOpt := NewUlimitOpt(ulimitMap) + ulimitOpt := NewUlimitOpt(&ulimitMap) expected := "[nofile=512:1024]" if ulimitOpt.String() != expected {