mirror of https://github.com/docker/cli.git
Merge pull request #28504 from runcom/fix-info-route-secopt
api: types: do not remove old SecurityOptions struct
This commit is contained in:
commit
e6dc69b4ee
|
@ -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