Skip to content

Commit ae22c37

Browse files
committed
Fix timeout with new Cluster API due to renamed condition type
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent 1a43f17 commit ae22c37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/kaas/plugin/plugin_clusterstacks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _get_condition_ready(self, co_api: _csh.CustomObjectsApi):
3030
return bool([
3131
cond
3232
for cond in status.get('conditions', ())
33-
if cond.get('type', '').lower() == 'ready'
33+
if cond.get('type', '').lower() in ('ready', 'available') # new Cluster API uses available
3434
if cond.get('status', '').lower() == 'true'
3535
])
3636

0 commit comments

Comments
 (0)