-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
I'm getting the following exception when authenticating with IAM:
Traceback (most recent call last):
File "/home/jenkins/workspace/Containers-Registry/sync-sysdig-alerts/vaultfiles/scripts/sysdig/sync-alerts.py", line 29, in <module>
source_client = create_sdcclient_for_instance(source_instance)
File "/home/jenkins/workspace/Containers-Registry/sync-sysdig-alerts/vaultfiles/scripts/sysdig/sync-alerts.py", line 25, in create_sdcclient_for_instance
ibm_headers = IbmAuthHelper.get_headers(url, api_key, guid)
File "/usr/local/lib/python3.7/dist-packages/sdcclient/ibm_auth_helper.py", line 15, in get_headers
iam_token = IbmAuthHelper.__get_iam_token(url, apikey)
File "/usr/local/lib/python3.7/dist-packages/sdcclient/ibm_auth_helper.py", line 35, in __get_iam_token
response = self.http.post(
NameError: name 'self' is not defined
It appears that this change tries to reference self in a static method: 2808518#diff-d3358f2337a151eba234c36ba139abfa6a7a1175da19f9323488a6396afa13dcR35
Metadata
Metadata
Assignees
Labels
No labels