-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: Adjust the container task log #8025
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
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| taskItem.LogWithStatus(i18n.GetMsgByKey("ContainerCreate"), err) | ||
| if err != nil { | ||
| taskItem.Log(i18n.GetMsgByKey("ContainerCreateFailed")) | ||
| _ = client.ContainerRemove(ctx, req.Name, container.RemoveOptions{RemoveVolumes: true, Force: true}) |
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.
I'm sorry but you have not provided any code to review. Could you please share the code that needs analysis?
| if (value === 'local' && dialogData.value.title !== 'edit') { | ||
| return callback(new Error(i18n.global.t('terminal.localHelper'))); | ||
| } | ||
| callback(); |
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.
There isn't any significant difference between the original code snippet and my translated version. The current versions appear to have no differences; all checks and calls should continue as expected.
In terms of optimization/suggestions, this code has been written efficiently. However, since there were no issues mentioned or concerns raised during the translation process, no further recommendations can be made at this point.
|
|
/lgtm |



No description provided.