Permalink
Browse files

Added code 422 eval for "Unprocessable Entity, cannot resize while a …

…backup is in progress"
  • Loading branch information...
1 parent 9b65faa commit f38ed1039f18e52822a64bbf415d48fa009c465a jmorganson committed Dec 13, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 rscurl.sh
View
1 rscurl.sh 100755 → 100644
@@ -316,6 +316,7 @@ function http_code_eval () {
404 ) echo "Server ID not found."; exit $1;;
409 ) echo "Server is currently being built, please wait and retry."; exit $1;;
413 ) echo "API Request limit reached, please wait and retry."; exit $1;;
+ 422 ) echo "Unprocessable Entity, cannot resize while a backup is in progress."; exit $1;;
503 ) echo "Rackspace Cloud service unavailable, please check and then retry."; exit $1;;
* ) echo "An unknown error has occured. ($RC)"; exit 99;;
esac

0 comments on commit f38ed10

Please sign in to comment.