api: types: keep info.SecurityOptions a string slice

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-11-16 22:30:29 +01:00
parent b58a973b18
commit b4fe4fb42b
1 changed files with 2 additions and 4 deletions

View File

@ -46,10 +46,8 @@ func TestInfo(t *testing.T) {
return nil, fmt.Errorf("Expected URL '%s', got '%s'", expectedURL, req.URL) return nil, fmt.Errorf("Expected URL '%s', got '%s'", expectedURL, req.URL)
} }
info := &types.Info{ info := &types.Info{
InfoBase: &types.InfoBase{ ID: "daemonID",
ID: "daemonID", Containers: 3,
Containers: 3,
},
} }
b, err := json.Marshal(info) b, err := json.Marshal(info)
if err != nil { if err != nil {