Change the statistics type from float64 to *float64
The code generator supports only *float64 and hence updating
the api
@@ -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 *float64 `json:"lastRTT"`
+ MinRTT *float64 `json:"minRTT"`
+ AverageRTT *float64 `json:"averageRTT"`
+ MaxRTT *float64 `json:"maxRTT"`
+ StdDevRTT *float64 `json:"stddevRTT"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
