You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description of the change
The log traces and the error messages have an inconsistent
capitalization across the codebase; this PR is to fix it.
I have used some regexes like
`fmt.(New|Debug|Warn||Warning|Info|Error|Fatal|Panic)(f?)(S?)\(("|')\p{Ll}`,
`connect\.\w+,
fmt.(New|Debug|Warn||Warning|Info|Error|Fatal|Panic)(f?)(S?)\(("|')\p{Ll}`
to find any possible offending occurrence.
The rationale behind the transformation is:
- fmt.errorf -> lowercase
- exception: those errors using connect.... will be returned to the
user, these ones remain capitalized (converted some existing ones which
wasn't)
- log.xxxx -> uppercase
### Benefits
Consistent capitalization.
### Possible drawbacks
Some tests might fail, but will fix them straight away.
### Applicable issues
- fixes#6672
### Additional information
The next step would be unifying the actual messages, but this is another
yak to shave...
---------
Signed-off-by: Antonio Gamez Diaz <[email protected]>
0 commit comments