AWS: Log the region when we don't recognize it.

This will help users see when they've typoed the region name (#14278)
This commit is contained in:
Justin Santa Barbara 2015-10-05 09:05:17 -04:00
parent 465c5b0791
commit 1ab663e912
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ function detect-jessie-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi

View File

@ -306,7 +306,7 @@ function detect-trusty-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi

View File

@ -75,7 +75,7 @@ function detect-vivid-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi

View File

@ -74,7 +74,7 @@ function detect-wheezy-image () {
;;
*)
echo "Please specify AWS_IMAGE directly (region not recognized)"
echo "Please specify AWS_IMAGE directly (region ${AWS_REGION} not recognized)"
exit 1
esac
fi