We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da18535 commit e2edd6eCopy full SHA for e2edd6e
lithops/storage/backends/ibm_cos/config.py
@@ -80,7 +80,7 @@ def load_config(config_data):
80
endpoint = config_data['ibm_cos']['endpoint']
81
config_data['ibm_cos']['region'] = endpoint.split('//')[1].split('.')[1]
82
83
- if ('service_instance_id' not in config_data['ibm_cos'] and
84
- {'access_key_id', 'secret_access_key'}.isdisjoint(config_data['ibm_cos'])):
+ if ('service_instance_id' not in config_data['ibm_cos']
+ and {'access_key_id', 'secret_access_key'}.isdisjoint(config_data['ibm_cos'])):
85
raise Exception('You must provide the service_instance_id or the (access_key_id,secret_access_key) to '
86
'access to IBM COS')
0 commit comments