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 44afdce commit 23ff3c6Copy full SHA for 23ff3c6
bin/resize.py
@@ -461,7 +461,11 @@ def get_summary(comp_ocid,cluster_name):
461
elif cn_summary_tmp.lifecycle_state == "SCALING":
462
scaling_clusters = scaling_clusters + 1
463
if running_clusters == 0:
464
- cn_summaries = computeClient.list_compute_clusters(comp_ocid,display_name=cluster_name).data.items
+ try:
465
+ cn_summaries = computeClient.list_compute_clusters(comp_ocid,display_name=cluster_name).data.items
466
+ except:
467
+ print("The list_compute_clusters call returned an error, considering no Compute CLusters are present")
468
+ cn_summaries = []
469
if len(cn_summaries) > 0:
470
CN = "CC"
471
for cn_summary_tmp in cn_summaries:
0 commit comments