소스 검색

profiles/seccomp: fix comment

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Antonio Murdaca 8 년 전
부모
커밋
197f3ee687
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      profiles/seccomp/seccomp.go

+ 1 - 1
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 {