Merge pull request #28504 from runcom/fix-info-route-secopt

api: types: do not remove old SecurityOptions struct
This commit is contained in:
Victor Vieux 2016-11-21 13:55:07 -08:00 committed by GitHub
commit e6dc69b4ee
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)
}
info := &types.Info{
InfoBase: &types.InfoBase{
ID: "daemonID",
Containers: 3,
},
ID: "daemonID",
Containers: 3,
}
b, err := json.Marshal(info)
if err != nil {