Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check restore phase when getting logs #477

Closed
nrb opened this issue May 7, 2018 · 0 comments
Closed

Check restore phase when getting logs #477

nrb opened this issue May 7, 2018 · 0 comments
Labels

Comments

@nrb
Copy link
Contributor

nrb commented May 7, 2018

When using ark restore logs my-restore before a restore is completed, the user will see a not found error from the object storage. This happens because the log file isn't uploaded until the restore is complete.

Before checking object storage, the restore logs subcommand should check the Phase of a restore and only get the file if Phase is Completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants