Merge "Add another error_code for StaleRevision error"
This commit is contained in:
commit
31756b4941
@ -42,7 +42,8 @@ def http_error_to_exception(status_code, error_code):
|
||||
'500045': exceptions.NsxPendingDelete,
|
||||
'500030': exceptions.ResourceInUse,
|
||||
'500105': exceptions.NsxOverlapAddresses,
|
||||
'503040': exceptions.NsxSegemntWithVM},
|
||||
'503040': exceptions.NsxSegemntWithVM,
|
||||
'100148': exceptions.StaleRevision},
|
||||
requests.codes.CONFLICT: exceptions.StaleRevision,
|
||||
requests.codes.PRECONDITION_FAILED: exceptions.StaleRevision,
|
||||
requests.codes.INTERNAL_SERVER_ERROR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user