1
0
mirror of https://github.com/rancher/types.git synced 2025-06-26 21:51:33 +00:00

don't set omitempty for default value

This commit is contained in:
Daishan Peng 2018-01-17 16:40:21 -07:00 committed by Darren Shepherd
parent f2db89cf88
commit b05e587e5e

View File

@ -54,10 +54,10 @@ type Field struct {
}
type Values struct {
StringValue string `json:"stringValue,omitempty"`
IntValue int `json:"intValue,omitempty"`
BoolValue bool `json:"boolValue,omitempty"`
StringSliceValue []string `json:"stringSliceValue,omitempty"`
StringValue string `json:"stringValue"`
IntValue int `json:"intValue"`
BoolValue bool `json:"boolValue"`
StringSliceValue []string `json:"stringSliceValue"`
}
type Action struct {