Skip to content

Commit

Permalink
fix(opsgenie): retry on 404 as well (#2936)
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren authored Dec 30, 2024
1 parent 59cae59 commit 2180254
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keep/providers/opsgenie_provider/opsgenie_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(
):
super().__init__(context_manager, provider_id, config)
self.configuration = opsgenie_sdk.Configuration()
self.configuration.retry_http_response = ["429", "500", "502-599", "404"]
self.configuration.api_key["Authorization"] = self.authentication_config.api_key

def validate_scopes(self):
Expand Down

0 comments on commit 2180254

Please sign in to comment.