daemon: add a flag to override the default seccomp profile

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-11-02 21:41:29 +01:00
parent 732006e113
commit 485bb69238
+4 -2
View File
@@ -46,8 +46,10 @@ func TestInfo(t *testing.T) {
return nil, fmt.Errorf("Expected URL '%s', got '%s'", expectedURL, req.URL)
}
info := &types.Info{
ID: "daemonID",
Containers: 3,
InfoBase: &types.InfoBase{
ID: "daemonID",
Containers: 3,
},
}
b, err := json.Marshal(info)
if err != nil {