Browse code

profiles/seccomp: fix comment

Signed-off-by: Antonio Murdaca <runcom@redhat.com>

Antonio Murdaca authored on 2016/11/25 19:40:54
Showing 1 changed files
... ...
@@ -20,7 +20,7 @@ func GetDefaultProfile(rs *specs.Spec) (*specs.Seccomp, error) {
20 20
 	return setupSeccomp(DefaultProfile(), rs)
21 21
 }
22 22
 
23
-// LoadProfile takes a file path and decodes the seccomp profile.
23
+// LoadProfile takes a json string and decodes the seccomp profile.
24 24
 func LoadProfile(body string, rs *specs.Spec) (*specs.Seccomp, error) {
25 25
 	var config types.Seccomp
26 26
 	if err := json.Unmarshal([]byte(body), &config); err != nil {