change float to string

This commit is contained in:
jennybuckley
2018-10-22 16:17:03 -07:00
committed by Antoine Pelisse
parent 8fc316386f
commit 3cff3355b0

View File

@@ -1139,8 +1139,9 @@ type FieldNameValuePair struct {
type FieldValue struct {
// Exactly one of the following fields should be set.
// FloatValue is a primitive float value.
// it is serialized as a string
// +optional
FloatValue *float64 `json:"floatValue,omitempty" protobuf:"bytes,1,opt,name=floatValue"`
FloatValue *string `json:"floatValue,omitempty" protobuf:"bytes,1,opt,name=floatValue"`
// IntValue is a primitive int value.
// +optional
IntValue *int32 `json:"intValue,omitempty" protobuf:"varint,2,opt,name=intValue"`