-
Notifications
You must be signed in to change notification settings - Fork 71
Change the default value of CleanPodPolicy to None in comments. #210
Conversation
/lgtm |
build/test was failed:
@johnugeorge @tenzen-y Do you know the reason why it happened, or can you help make it retry. |
I guess the behavior of staticcheck changed since we always install the latest golangci-lint like the following: common/.github/workflows/build.yml Line 42 in 9ec55d1
So we need to fix the lint error. Can you fix the error? |
OK, I'll give it a try. |
…int staticcheck. Signed-off-by: Syulin7 <735122171@qq.com>
0ad5001
to
43e3a2e
Compare
@tenzen-y I fixed the error, can you help make it retry. |
Thanks for fixing the error. However, I don't have permission to approve the CI. @kubeflow/wg-training-leads Can you approve CI? |
@johnugeorge @terrytangyuan PTAL, thanks. |
Thanks @Syulin7 /lgtm |
@terrytangyuan @gaocegege @Jeffwan PTAL, thanks. |
@@ -179,7 +179,7 @@ const ( | |||
// active. | |||
type RunPolicy struct { | |||
// CleanPodPolicy defines the policy to kill pods after the job completes. | |||
// Default to Running. | |||
// Default to None. |
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.
No code changes?
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.
the code changes in training operator, PR: kubeflow/training-operator#1754. and there are only comments in the common library. The generation of the CRD in the training operator will use it.
/lgtm |
@terrytangyuan Can you merge it as well? |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge, terrytangyuan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Set None as default.
Fixes: kubeflow/training-operator#1753