Repository navigation
[MeshSync] Fix misspellings in config and informer error messages - #640
Conversation
ErrGetObject and ErrNewInformer showed "doesnt exist" as their probable cause, and ErrGetObject's remediation said "configured correct". These texts are shown to users and published in the error reference. Fix them in error.go, the errorutil index, and the errors guide that quotes them. Codes are unchanged. Signed-off-by: adityamukesh <adityamukesh111@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
pontusringblom
left a comment
There was a problem hiding this comment.
Thanks for fixing the user-facing error text at the source and updating the error index and the docs example in the same change - I checked that these were the only copies of the old strings in the repo, and the error codes and severities are untouched. No changes requested from me.
Please consider and reply to each comment in this review. For every suggestion, state how you've incorporated it or explain your reasoning for not doing so.
|
Thanks for checking, @pontusringblom. There are no suggestions to act on, so no further changes from me. The codes, severities, and behavior stay as they were; only the text changed. |
hortison
left a comment
There was a problem hiding this comment.
Approved at head f4ec758.
Checked:
- Full diff (3 files): spelling and grammar fixes only, in ErrGetObject (meshsync-1004) and ErrNewInformer (meshsync-1006). Error codes, severities, and behavior unchanged. The same corrected strings are applied consistently in meshsync/error.go, helpers/errorutil_errors_index.json, and the docs/agent-instructions/errors.md example.
- Verified locally at this head with Go 1.26.4: grep -rn 'doesnt' across .go/.md/*.json finds no remaining matches; errorutil_errors_index.json parses; gofmt clean; go vet ./meshsync/ clean; go test ./meshsync/ passes.
- GitHub checks: triage, CodeRabbit, DCO all pass. CodeRabbit reports no actionable comments. 0 review threads.
Merging now.
Description
Two MeshKit errors in
meshsync/error.gohave misspelled text that users see, and that is also published in the error code reference:ErrGetObject(meshsync-1004)ErrGetObject(meshsync-1004)ErrNewInformer(meshsync-1006)The same strings are also updated in
helpers/errorutil_errors_index.jsonand in the example indocs/agent-instructions/errors.md, which quotes the first one. Error codes, severities, and behavior are unchanged.Notes for Reviewers
go build ./...,go vet ./meshsync/, andgo test ./meshsync/pass locally.grep -rn doesnt).Signed commits
Summary by CodeRabbit