Browse Source

Add stale revision error code

Change-Id: I6b3586885d210867c2fd4ab9ba66273b11a47843
changes/74/760074/1
asarfaty 2 months ago
committed by Adit Sarfaty
parent
commit
93a84fa058
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      vmware_nsxlib/v3/client.py

+ 1
- 0
vmware_nsxlib/v3/client.py View File

@@ -44,6 +44,7 @@ def http_error_to_exception(status_code, error_code, related_error_codes=None):
'500030': exceptions.ResourceInUse,
'500087': exceptions.StaleRevision,
'500105': exceptions.NsxOverlapAddresses,
'500232': exceptions.StaleRevision, # Missing dependent objects
'503040': exceptions.NsxSegemntWithVM,
'100148': exceptions.StaleRevision},
requests.codes.CONFLICT: exceptions.StaleRevision,


Loading…
Cancel
Save