fix seccomp key

This commit is contained in:
Henry Oswald 2018-06-26 15:38:30 +01:00
parent 5c3c39c743
commit c33c9f8fc7

View file

@ -43,7 +43,7 @@ if process.env["DOCKER_RUNNER"]
try
seccomp_profile_path = Path.resolve(__dirname + "/../seccomp/clsi-profile.json")
module.exports.clsi.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
module.exports.clsi.docker.seccomp_profile = JSON.stringify(JSON.parse(require("fs").readFileSync(seccomp_profile_path)))
catch error
console.log error, "could not load seccom profile from #{seccomp_profile_path}"