Skip to content

Commit

Permalink
Skip post_installation in case of installer failure (#84)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Stejskal <[email protected]>
  • Loading branch information
Frawless authored Nov 4, 2024
1 parent 5452052 commit 0149b60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osia/installer/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def install_cluster(cloud_provider,
logging.error(exception)
if inst.check_clean():
delete_cluster(cluster_name, installer)
return
# Do not continue in case of installer failure
return

inst.post_installation()

Expand Down

0 comments on commit 0149b60

Please sign in to comment.