Skip to content

Commit

Permalink
clarify failure behavior on CNA API errors
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Dec 20, 2022
1 parent a577a1c commit 443690b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reconcile/cna/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class CNAClient:
"""
Client used to interact with CNA. CNA API doc can be found here:
https://gitlab.cee.redhat.com/service/cna-management/-/blob/main/openapi/openapi.yaml#/
All HTTP errors while communicating with the CNA API are raised
as a `requests.exceptions.HTTPError`.
"""

def __init__(self, ocm_client: OCMBaseClient, init_metadata: bool = False):
Expand Down

0 comments on commit 443690b

Please sign in to comment.