-
Notifications
You must be signed in to change notification settings - Fork 184
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
ensure a linebreak after config validation errors and do not parse config for help #4405
ensure a linebreak after config validation errors and do not parse config for help #4405
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Great, thanks 👍 |
… don't parse config for help
@kobergj thanks for your review, I got the remaining |
ocis-pkg/config/configlog/log.go
Outdated
) | ||
|
||
// LogError logs the error | ||
func LogError(err error) { |
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.
Great. But they stutter as they are callled like configlog.LogError
maybe just call them Error
ReturnErrror
ReturnFatal
? So then they would be used like configlog.Error
Obviously not critical as some things just stutter....
SonarCloud Quality Gate failed. |
Maybe to re-kick CI to see if it turns green post the not starting issue last week...? |
CI is green except the ARM pipelines because there are no ARM runners |
Description
This PR:
Related Issue
Motivation and Context
make oCIS intuitive to use
How Has This Been Tested?
have a non configured oCIS (
rm -rf ~/.ocis
)ocis storage-users uploads list --help
, it succeeds with this PR but not with masterocis server
, it has a proper linebreak at the end of the error messageocis migrate shares --help
, it succeds with this PR but not with masterocis migrate publicshares --help
, it succeds with this PR but not with masterScreenshots (if appropriate):
Types of changes
Checklist: