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

Pick Diagnostics: path management onto release-1.15 #7340

Merged

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Aug 12, 2024

This merges #7297 ("Diagnostics: path management") onto the release-1.15 branch.

From the original pull request description:

This implements diagnostics for path management so people can see the errors that occur.

This also adds the ability for diagnostics to return multiple results, because there are too many files under management to list just one.

Fixes #7262

This makes it possible for a diagnostics checker to return multiple
results; this will be used for the path management diagnostics.

Signed-off-by: Mark Yen <[email protected]>
This actually just stores the result from the last path management run in
memory, and report that when requested.

Signed-off-by: Mark Yen <[email protected]>
Update `manageLinesInFile` to throw unique errors so that the diagnostics
has more information with which to provide better fix suggestions.

Signed-off-by: Mark Yen <[email protected]>
Signed-off-by: Mark Yen <[email protected]>
The `kubeConfigSymlink` checker only makes sense on Windows.

Signed-off-by: Mark Yen <[email protected]>
Also drops one line of excess logging.

Signed-off-by: Mark Yen <[email protected]>
@mook-as mook-as marked this pull request as ready for review August 12, 2024 19:15
@Nino-K Nino-K enabled auto-merge August 12, 2024 19:30
@Nino-K Nino-K merged commit f6caf13 into rancher-sandbox:release-1.15 Aug 12, 2024
13 of 15 checks passed
@mook-as mook-as deleted the path-management/diagnostics branch August 12, 2024 22:46
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.

2 participants