Make the setupSeccomp function public.

This function is useful for converting from the OCI spec format to the one used by runC/libcontainer.

Signed-off-by: dlorenc <lorenc.d@gmail.com>
This commit is contained in:
dlorenc
2018-04-17 10:42:04 -07:00
parent d56f6cc202
commit 40680b2d37
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ func TestSetupSeccomp(t *testing.T) {
},
},
}
seccomp, err := setupSeccomp(conf)
seccomp, err := SetupSeccomp(conf)
if err != nil {
t.Errorf("Couldn't create Seccomp config: %v", err)