Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
lakectl doctor command to run a basic diagnose on lakeFS configuration #2948
lakectl doctor command to run a basic diagnose on lakeFS configuration #2948
Changes from 31 commits
29522b5
2528ff0
3e69a10
531371c
9c4e5de
91b1b89
c2fb59b
7e77e9e
23d3eed
8cf0aa6
77f172b
6c80ac2
d19fcf1
d93230a
6cc1ce6
de505a9
d371c8a
e78fbb0
c6b4a90
f6cc60c
8575f73
a3c5a42
db49f19
5a45e32
2665e12
f91f9fa
834c113
3d13630
4644576
5fc6254
7a1853b
04e4185
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment thread gone because the line changed...
Cool. But then please return a string explaining to the user what is suspicious about the URL: is it impossible to parse (which is definitely wrong), or does it have a weird suffix (which is probably wrong). The user can and should take different steps in each case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might still want to do this :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future reference (none of this is required in this PR, but it would be more Go-ish if you did do these): these errors work, but are a bit dirty. They break the errors wrapping chain. You could have instead
The
Unwrap
call means theerrors.Is
anderrors.As
will continue to work on this error.Now copy this type into every desired type, e.g.
and you get all the parts in one place.