Revert "Minor cleanup of openstack-protect script" 25/65025/5
authorThanh Ha <zxiiro@gmail.com>
Wed, 12 Aug 2020 19:07:32 +0000 (15:07 -0400)
committerThanh Ha <zxiiro@gmail.com>
Wed, 12 Aug 2020 20:23:42 +0000 (16:23 -0400)
The "Minor cleanup" ended up breaking the script entirely as the
image list array is not correctly created causing invalid image
name to be passed to the openstack command.

Also adds some code to strip double quotes from the prefix and suffix
if there are any.

This reverts commit b03a1792362654ad8fcd15092a64ed00f8509209.

Change-Id: Id4f734113d6dede7e7603f85784b46d164b91392
Co-authored-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Thanh Ha <zxiiro@gmail.com>

No differences found