janjwerner commented on code in PR #15449:
URL: https://github.com/apache/druid/pull/15449#discussion_r1419869200


##########
extensions-core/kubernetes-extensions/src/main/java/org/apache/druid/k8s/discovery/DefaultK8sApiClient.java:
##########
@@ -65,7 +65,7 @@ public DefaultK8sApiClient(ApiClient realK8sClient, @Json 
ObjectMapper jsonMappe
   public void patchPod(String podName, String podNamespace, String 
jsonPatchStr)
   {
     try {
-      coreV1Api.patchNamespacedPod(podName, podNamespace, new 
V1Patch(jsonPatchStr), "true", null, null, null);
+      coreV1Api.patchNamespacedPod(podName, podNamespace, new 
V1Patch(jsonPatchStr), "true", null, null, null, false);

Review Comment:
   You are right, 
   The extra argument is field validation, but I was incorrectly string the 
value of force to false.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to