Skip to content

Commit 0149b60

Browse files
authored
Skip post_installation in case of installer failure (#84)
Signed-off-by: Jakub Stejskal <[email protected]>
1 parent 5452052 commit 0149b60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: osia/installer/executor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def install_cluster(cloud_provider,
7373
logging.error(exception)
7474
if inst.check_clean():
7575
delete_cluster(cluster_name, installer)
76-
return
76+
# Do not continue in case of installer failure
77+
return
7778

7879
inst.post_installation()
7980

0 commit comments

Comments
 (0)