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

logs commands: validate item exists & is finished processing #1337

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

skriss
Copy link
Member

@skriss skriss commented Mar 31, 2019

Signed-off-by: Steve Kriss krisss@vmware.com

Fixes #492

Improves user-friendliness around velero backup logs and velero restore logs commands.

I also made the structure of the two commands identical for consistency, and opted for the structure of just a single function given how short & simple the logic is.

@skriss skriss requested review from carlisia and nrb March 31, 2019 22:47
Copy link
Contributor

@carlisia carlisia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@carlisia
Copy link
Contributor

carlisia commented Apr 1, 2019

Do you need a changelog?

@skriss
Copy link
Member Author

skriss commented Apr 1, 2019

Yep - added.

@@ -0,0 +1 @@
velero backup logs & velero restore logs: show helpful error message if item does not exist or is not finished processing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to clarify the text here a little bit - when I first read the title, I figured we'd be showing nicer errors when the logs file wasn't found.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss
Copy link
Member Author

skriss commented Apr 1, 2019

updated

@nrb nrb merged commit bbd28a9 into vmware-tanzu:master Apr 1, 2019
@skriss skriss deleted the logs-cmd-validation branch April 3, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants