gos_tech_1.6.10 v1.6.11
Sergey Kisil 1 year ago
parent f111787976
commit cf11855fa3

@ -1,4 +1,4 @@
## Version 1.6.10
## Version 1.6.11
## Bugfix
- Fix panic for nil pointer response reference in client and legacy-client
- Remove tag "required" from field Value in AffinityRuleAddRequest, AntiAffinityRuleAddRequest, AffinityRuleRemoveRequest AntiAffinityRuleRemoveRequest in cloudapi/compute and cloudbroker/compute

@ -38,8 +38,8 @@ type AffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleAdd add affinity rule

@ -38,8 +38,8 @@ type AffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleRemove remove affinity rule

@ -38,8 +38,8 @@ type AntiAffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleAdd add anti affinity rule

@ -38,8 +38,8 @@ type AntiAffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleRemove remove anti affinity rule

@ -40,8 +40,8 @@ type AffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleAdd adds affinity rule

@ -38,8 +38,8 @@ type AffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleRemove remove affinity rule

@ -38,8 +38,8 @@ type AntiAffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleAdd adds anti affinity rule

@ -38,8 +38,8 @@ type AntiAffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleRemove removes anti affinity rule

Loading…
Cancel
Save