Merge pull request #28832 from runcom/seccomp-comment-fix

profiles/seccomp: fix comment
This commit is contained in:
Akihiro Suda 2016-11-25 21:31:29 +09:00 committed by GitHub
commit 58d59c63e0
1 changed files with 1 additions and 1 deletions

View File

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