Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ScoutSuite/providers/oci/facade/objectstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def __init__(self, credentials: OracleCredentials):
async def get_namespace(self):
try:
response = await run_concurrently(
lambda: list_call_get_all_results(self._client.get_namespace))
# for some reason it returns a list of chars instead of a string
return ''.join(response.data)
lambda: self._client.get_namespace()
)
return response.data
except Exception as e:
print_exception(f'Failed to get Object Storage namespace: {e}')
return None
Expand Down