mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
change float to string
This commit is contained in:
committed by
Antoine Pelisse
parent
8fc316386f
commit
3cff3355b0
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user