From 485bb69238647a23ecf8066e32cfe404440818e3 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 2 Sep 2016 15:20:54 +0200 Subject: [PATCH] daemon: add a flag to override the default seccomp profile Signed-off-by: Antonio Murdaca --- info_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/info_test.go b/info_test.go index 79f23c8af2..7af82a8a31 100644 --- a/info_test.go +++ b/info_test.go @@ -46,8 +46,10 @@ func TestInfo(t *testing.T) { return nil, fmt.Errorf("Expected URL '%s', got '%s'", expectedURL, req.URL) } info := &types.Info{ - ID: "daemonID", - Containers: 3, + InfoBase: &types.InfoBase{ + ID: "daemonID", + Containers: 3, + }, } b, err := json.Marshal(info) if err != nil {