Skip to content

Commit

Permalink
GCLOUD2-11796 manage servergroup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexk53 committed Sep 24, 2024
1 parent f205e13 commit 846a2f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcore/k8s/v2/pools/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ type UpdateOptsBuilder interface {
// UpdateOpts represents options used to update a pool.
type UpdateOpts struct {
AutoHealingEnabled *bool `json:"auto_healing_enabled,omitempty"`
MinNodeCount int `json:"min_node_count,omitempty" validate:"omitempty,gt=0,lte=20,ltefield=MaxNodeCount"`
MaxNodeCount int `json:"max_node_count,omitempty" validate:"omitempty,gt=0,lte=20,gtefield=MinNodeCount"`
MinNodeCount int `json:"min_node_count,omitempty" validate:"omitempty,gt=0,lte=100,ltefield=MaxNodeCount"`
MaxNodeCount int `json:"max_node_count,omitempty" validate:"omitempty,gt=0,lte=100,gtefield=MinNodeCount"`
Labels *map[string]string `json:"labels,omitempty"`
Taints *map[string]string `json:"taints,omitempty"`
}
Expand Down

0 comments on commit 846a2f8

Please sign in to comment.