mirror of https://github.com/docker/cli.git
api: types: keep info.SecurityOptions a string slice
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
b58a973b18
commit
b4fe4fb42b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue