copr-be: fix ibm-cloud instance listing

This commit is contained in:
Pavel Raiskup
2023-10-25 13:35:10 +02:00
parent d0e12fef0c
commit 8c09ff53c0

View File

@@ -1,11 +1,14 @@
#! /bin/bash
case $RESALLOC_POOL_ID in
*tokyo*)
*s390x*tokyo*)
zone=jp-tok
;;
*s390x*us_east*)
jp-tok
;;
*)
echo "Can't decide what location to assign from: $RESALLOC_POOL_ID"
echo "Can't decide what location to assign from pool id: '$RESALLOC_POOL_ID'"
exit 1
;;
esac