You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "advancedxy (via GitHub)" <gi...@apache.org> on 2023/02/06 03:21:06 UTC
[GitHub] [incubator-uniffle] advancedxy commented on a diff in pull request #530: [ISSUE #525][operator] refine svc creations
advancedxy commented on code in PR #530:
URL: https://github.com/apache/incubator-uniffle/pull/530#discussion_r1096910424
##########
deploy/kubernetes/operator/pkg/webhook/inspector/rss.go:
##########
@@ -148,8 +148,10 @@ func generateRSSPatches(ar *admissionv1.AdmissionReview,
// validateCoordinator validates configurations for coordinators.
func validateCoordinator(coordinator *unifflev1alpha1.CoordinatorConfig) error {
- if len(coordinator.RPCNodePort) != int(*coordinator.Count) ||
- len(coordinator.HTTPNodePort) != int(*coordinator.Count) {
+ // number of RPCNodePort must equal with number of HTTPNodePort
Review Comment:
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org