Skip to content

Commit

Permalink
Update sdk/search/azure-search-documents/azure/search/documents/_serv…
Browse files Browse the repository at this point in the history
…ice/_utils.py

Co-authored-by: Johan Stenberg (MSFT) <[email protected]>
  • Loading branch information
Rakshith Bhyravabhotla and johanste authored May 1, 2020
1 parent 0a84da3 commit 4a3e126
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def get_access_conditions(model, match_condition=MatchConditions.Unconditionally
if match_condition == MatchConditions.IfNotModified:
error_map[412] = ResourceModifiedError
if match_condition == MatchConditions.IfModified:
error_map[304] = ResourceNotModifiedError
error_map[412] = ResourceNotModifiedError
if match_condition == MatchConditions.IfPresent:
error_map[412] = ResourceNotFoundError
Expand Down

0 comments on commit 4a3e126

Please sign in to comment.