(fix) Add apparmor profiles on genesis node in multinode gate

Prior change[0] breaks if apparmor profiles are not present in the
manifest. This commit allows the script to proceed if they are not
found.

[0]: https://review.opendev.org/#/c/676532/

Change-Id: Idc3f458c0002c707afceb6609de6822fb638f608
This commit is contained in:
Sphicas, Phil (ps3910) 2019-08-22 08:34:09 -07:00
parent 6dd38d0f71
commit 77c91e83ac
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ fi
if [[ ! $DISABLE_APPARMOR_PROFILES ]]; then
manifests_lookup "$rendered_file" "drydock/BootAction/v1" \
"apparmor-profiles" "['data']['assets']" "get_size"
"apparmor-profiles" "['data']['assets']" "get_size" "true"
if [[ -n "$RESULT" ]] && [[ $RESULT -gt 0 ]]; then