Fix protect images 06/65606/5
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 23 Sep 2020 18:52:41 +0000 (14:52 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Wed, 23 Sep 2020 19:55:30 +0000 (19:55 +0000)
commitd56275b88a022a810b9a39f4c7e142c8c8d626bd
tree971ad0b98c789acc709e59ec1ab9e62a3a1f8d90
parent5fbab98f7c205fd8e7e702c2b136369116c54c2c
Fix protect images

Projects that do not have images in jjb
are failing this step of the build

fix code so we don't need to mess with set -u
or shellcheck disable
also only merge arrays if needed

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I119b68e344a34bb5bbe8baea2cc310497b7ee629
releasenotes/notes/openstack-protect-in-use-images-cf8e4f722a1512ec.yaml [new file with mode: 0644]
shell/openstack-protect-in-use-images.sh