Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
qinguoyi committed Nov 3, 2024
1 parent a948474 commit aa59b04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/util/validation/validate_playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ func ValidatePlayground(ctx context.Context, k8sClient client.Client, playground
}
}
if diff := cmp.Diff(service.Spec.WorkloadTemplate.LeaderWorkerTemplate.WorkerTemplate.Spec.Containers[0].Env, playground.Spec.BackendRuntimeConfig.Envs); diff != "" {
fmt.Println(fmt.Sprintf("+++++++++%v, %v, %v ++++++", service.Spec.WorkloadTemplate.LeaderWorkerTemplate.WorkerTemplate.Spec.Containers[0].Env,

Check failure on line 119 in test/util/validation/validate_playground.go

View workflow job for this annotation

GitHub Actions / golang-ci / golang-lint

S1038: should use fmt.Printf instead of fmt.Println(fmt.Sprintf(...)) (but don't forget the newline) (gosimple)
playground.Spec.BackendRuntimeConfig.Envs, diff))
return fmt.Errorf("unexpected envs")
}
}
Expand Down

0 comments on commit aa59b04

Please sign in to comment.