Skip to content

Commit e5cd461

Browse files
author
Marian Ganisin
authored
Merge pull request 3scale-qe#124 from mganisin/ssl_verify-in-tenant
Don't check ssl in Tenant.wait_tenant_ready
2 parents 4c374d8 + 15aa431 commit e5cd461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

threescale_api/resources.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,9 @@ def wait_tenant_ready(self) -> bool:
11101110
"""
11111111
When True is returned, there is some chance the tenant is actually ready.
11121112
"""
1113-
return self.admin_api().wait_for_tenant()
1113+
# Ignore ssl, this is about checking whether the initialization has
1114+
# been finished.
1115+
return self.admin_api(ssl_verify=False).wait_for_tenant()
11141116

11151117
def admin_api(self, ssl_verify=True, wait=-1) -> 'client.ThreeScaleClient':
11161118
"""

0 commit comments

Comments
 (0)