mirror of https://github.com/docker/cli.git
daemon: add a flag to override the default seccomp profile
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
732006e113
commit
485bb69238
|
@ -46,8 +46,10 @@ 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{
|
||||||
ID: "daemonID",
|
InfoBase: &types.InfoBase{
|
||||||
Containers: 3,
|
ID: "daemonID",
|
||||||
|
Containers: 3,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
b, err := json.Marshal(info)
|
b, err := json.Marshal(info)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue