From b4fe4fb42b56ba0d985fbbf074f8a9127385f09e Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 16 Nov 2016 22:30:29 +0100 Subject: [PATCH] api: types: keep info.SecurityOptions a string slice Signed-off-by: Antonio Murdaca --- info_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/info_test.go b/info_test.go index 7af82a8a31..79f23c8af2 100644 --- a/info_test.go +++ b/info_test.go @@ -46,10 +46,8 @@ func TestInfo(t *testing.T) { return nil, fmt.Errorf("Expected URL '%s', got '%s'", expectedURL, req.URL) } info := &types.Info{ - InfoBase: &types.InfoBase{ - ID: "daemonID", - Containers: 3, - }, + ID: "daemonID", + Containers: 3, } b, err := json.Marshal(info) if err != nil {