summaryrefslogtreecommitdiff
path: root/pkg/apparmor/apparmor_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-18 14:15:33 +0200
committerGitHub <noreply@github.com>2019-07-18 14:15:33 +0200
commitadcde2383f1da517c5788516d639745f5f01d300 (patch)
tree1332fce5bb6e69088300f20b8c5daf1fe8669412 /pkg/apparmor/apparmor_unsupported.go
parent456c045ddb39ade0c2a537e25f91e08745325508 (diff)
parent27ebd7d6f074620992be2fe3046cc188701d439f (diff)
downloadpodman-adcde2383f1da517c5788516d639745f5f01d300.tar.gz
podman-adcde2383f1da517c5788516d639745f5f01d300.tar.bz2
podman-adcde2383f1da517c5788516d639745f5f01d300.zip
Merge pull request #3592 from openSUSE/aa-file
Add DefaultContent API to retrieve apparmor profile content
Diffstat (limited to 'pkg/apparmor/apparmor_unsupported.go')
-rw-r--r--pkg/apparmor/apparmor_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/apparmor/apparmor_unsupported.go b/pkg/apparmor/apparmor_unsupported.go
index b2b4de5f5..13469f1b6 100644
--- a/pkg/apparmor/apparmor_unsupported.go
+++ b/pkg/apparmor/apparmor_unsupported.go
@@ -24,3 +24,8 @@ func CheckProfileAndLoadDefault(name string) (string, error) {
}
return "", ErrApparmorUnsupported
}
+
+// DefaultContent dummy.
+func DefaultContent(name string) ([]byte, error) {
+ return nil, nil
+}