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

chore: fix errors in expose action #8953

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yipeng1030
Copy link
Contributor

fix. apecloud/kbcli#563

Issue: The errors returned by the expose actions do not update the status of OpsRequest to ‘failed’, and as a result, the OpsRequest is not marked as finished.

Changes: Fixed this by wrapping the errors with intctrlutil.Error(), ensuring the status is updated correctly and the OpsRequest is properly marked as failed when an error occurs.

@yipeng1030 yipeng1030 requested a review from a team as a code owner February 19, 2025 09:19
@github-actions github-actions bot added the size/S Denotes a PR that changes 10-29 lines. label Feb 19, 2025
@yipeng1030 yipeng1030 changed the title fix error to fatal fix: fix errors in expose action Feb 19, 2025
@apecloud-bot apecloud-bot added the pre-approve Fork PR Pre Approve Test label Feb 19, 2025
@yipeng1030 yipeng1030 changed the title fix: fix errors in expose action chore: fix errors in expose action Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pre-approve Fork PR Pre Approve Test size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants