Skip to content

Commit

Permalink
enhancing cloud cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
dchourasia committed Nov 30, 2023
1 parent 488c9a1 commit 09f93e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hibernate_clusters_weekend.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ def main():
print('starting with', cluster.name, cluster.type)
outcome = True
if cluster.hcp == "false":
# hibernate_cluster(cluster)
hibernate_cluster(cluster)
print("OSD or ROSA Classic - ", cluster.name)
else:
# outcome = hybernate_hypershift_cluster(cluster, ec2_instances[cluster.region])
outcome = hybernate_hypershift_cluster(cluster, ec2_instances[cluster.region])
print("Hypershift cluster - ", cluster.name)
if outcome:
hibernated_clusters.append(cluster.__dict__)
Expand Down

0 comments on commit 09f93e7

Please sign in to comment.