Skip to content

Commit

Permalink
Generated from 3c7b424f9d928bb3a272ca3792ab4bd04510ef27
Browse files Browse the repository at this point in the history
Remove management plane changes from data plane PR (#8459)

* Remove management plane changes from data plane PR

* Resolve validation issues on older preview version
  • Loading branch information
SDK Automation committed Feb 21, 2020
1 parent 8e9e3da commit dface01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def delete(
request = self._client.delete(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)

if response.status_code not in [200]:
if response.status_code not in [200, 204]:
exp = CloudError(response)
exp.request_id = response.headers.get('x-ms-request-id')
raise exp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def delete(
request = self._client.delete(url, query_parameters, header_parameters)
response = self._client.send(request, stream=False, **operation_config)

if response.status_code not in [200]:
if response.status_code not in [200, 204]:
exp = CloudError(response)
exp.request_id = response.headers.get('x-ms-request-id')
raise exp
Expand Down

0 comments on commit dface01

Please sign in to comment.