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-09-02 15:20:54 +02:00
parent 732006e113
commit 485bb69238
1 changed files with 4 additions and 2 deletions

View File

@ -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 {