Merge "Adds exception.Conflict handler to is_resource_delete function"

This commit is contained in:
Zuul 2021-08-09 17:36:20 +00:00 committed by Gerrit Code Review
commit 87ce9a8dac

View File

@ -28,6 +28,8 @@ class ObjectClient(rest_client.RestClient):
self.get_object(container, object_name)
except exceptions.NotFound:
return True
except exceptions.Conflict:
return False
return False
def create_object(self, container, object_name, data,