Delete output directory if an error occurred

Open
#39 0 comments 0 reactions 1 assignee View on GitHub

@aniruddha2000 is already working on this.

Since Jan 25, 2024.

Assessment

This issue has not been assessed yet.

Description

Container needs refinement

Goals
In case that an error occurs, the user should know what went wrong. For this, he expects a good error message. Other than that the output directory which might already contain some of the generated files, should be deleted.

Otherwise, the user might think that the cluster stack release is usable, even though it is not. Additionally, we have to overwrite the directory anyway in case of a stable or beta release. This should not be necessary if the previous run fails.

/kind proposal

Dominant language
Go
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SovereignCloudStack/csctl

All issues in SovereignCloudStack/csctl

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.