Change the type of statistics to uint64
@@ -86,11 +86,11 @@ type GatewayStatus struct {
// LatencySpec describes the round trip time information in miliseconds for a packet
// between the gateway pods of two clusters.
type LatencySpec struct {
- LastRTT *float64 `json:"lastRTT"`
- MinRTT *float64 `json:"minRTT"`
- AverageRTT *float64 `json:"averageRTT"`
- MaxRTT *float64 `json:"maxRTT"`
- StdDevRTT *float64 `json:"stddevRTT"`
+ LastRTT uint64 `json:"lastRTT"`
+ MinRTT uint64 `json:"minRTT"`
+ AverageRTT uint64 `json:"averageRTT"`
+ MaxRTT uint64 `json:"maxRTT"`
+ StdDevRTT uint64 `json:"stddevRTT"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
