error_code of BotoServerError is wrong
Bug #816823 reported by
xelatex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-adminclient |
New
|
Undecided
|
Unassigned |
Bug Description
Line 361 of client.py judges the error_code of exception BotoServerError, which is as follows:
360 except boto.exception.
361 if e.status == 400 and e.error_code == 'UserNotFound':
362 return None
363 raise
While the error_code is not used in boto-1.9b, and the corresponding error_code is 'NotFound', so line of 361 should be:
361 if e.status == 400 and e.error_code == 'NotFound':
Please check it.
To post a comment you must log in.