From 197f3ee687d8f68f8b7876b622259cd803354b86 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Fri, 25 Nov 2016 11:40:54 +0100 Subject: [PATCH] profiles/seccomp: fix comment Signed-off-by: Antonio Murdaca --- profiles/seccomp/seccomp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/seccomp/seccomp.go b/profiles/seccomp/seccomp.go index a54ef50a8b..da5ddc3e28 100644 --- a/profiles/seccomp/seccomp.go +++ b/profiles/seccomp/seccomp.go @@ -20,7 +20,7 @@ func GetDefaultProfile(rs *specs.Spec) (*specs.Seccomp, error) { return setupSeccomp(DefaultProfile(), rs) } -// LoadProfile takes a file path and decodes the seccomp profile. +// LoadProfile takes a json string and decodes the seccomp profile. func LoadProfile(body string, rs *specs.Spec) (*specs.Seccomp, error) { var config types.Seccomp if err := json.Unmarshal([]byte(body), &config); err != nil {