zhengchenyu commented on code in PR #1630:
URL: 
https://github.com/apache/incubator-uniffle/pull/1630#discussion_r1566851099


##########
deploy/kubernetes/operator/pkg/webhook/util/util.go:
##########
@@ -158,12 +159,30 @@ func NeedInspectPod(pod *corev1.Pod) bool {
        return false
 }
 
+// JSONFloat is used to parse the float64 which may be NaN
+type JSONFloat float64
+
+// UnmarshalJSON return the parsed JSONFloat
+func (j *JSONFloat) UnmarshalJSON(v []byte) error {

Review Comment:
   OK! 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: [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