Merge "Replace exit 404 to exit 1"
[releng/builder.git] / jjb / opendaylight-infra-update-image-list.sh
index 79cfa772ff5bf4be704bbf69b227bc45665f8059..33aba011f00850d4d1088be0e9bcdafe65b5361e 100644 (file)
@@ -13,7 +13,7 @@ EOF
 # Blank line before EOF is on purpose to ensure there is spacing.
 
 IFS=$'\n'
-IMAGES=$(openstack --os-cloud odlpriv image list --public -f value -c Name)
+IMAGES=($(openstack --os-cloud odlpriv image list --public -f value -c Name))
 for i in "${IMAGES[@]}"; do
     echo "* $i" >> "$WORKSPACE/docs/cloud-images.rst"
 done