Skip to content

Commit

Permalink
add 403 return code to get service
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Aug 20, 2024
1 parent 908d393 commit 4bd4daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion confidant_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def get_service(self, service, decrypt_blind=False, metadata_only=False):
response = self._execute_request(
'get',
'{0}/v1/services/{1}'.format(self.config['url'], service),
expected_return_codes=[200, 404],
expected_return_codes=[200, 403, 404],
params={'metadata_only': metadata_only},
)
except RequestExecutionError:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="confidant-client",
version="2.5.2",
version="2.5.2-alpha-1",
packages=find_packages(exclude=["test*"]),
install_requires=[
# Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK)
Expand Down

0 comments on commit 4bd4daf

Please sign in to comment.