Skip to content

Commit 2191fd1

Browse files
fix(test): update comments.
Signed-off-by: Electronic-Waste <[email protected]>
1 parent e152a0c commit 2191fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller.v1beta1/trial/trial_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func TestReconcileBatchJob(t *testing.T) {
280280
// SuccessPolicy is available in K8s 1.31 and later. If we set it in K8s 1.30, it will be ignored.
281281
// And when we set the status with `SuccessCriteriaMet`, it will report error:
282282
// "Invalid value: cannot set SuccessCriteriaMet=True for Job without SuccessPolicy".
283-
// REF: https://kubernetes.io/docs/concepts/workloads/controllers/job/#success-policy
283+
// Ref: https://kubernetes.io/docs/concepts/workloads/controllers/job/#success-policy
284284
isK8sVersion130 := strings.Contains(os.Getenv("KUBEBUILDER_ASSETS"), "1.30")
285285
if isK8sVersion130 {
286286
batchJob.Status = batchv1.JobStatus{

0 commit comments

Comments
 (0)