Skip to content

Commit

Permalink
Add labels to the node pool update request struct (vultr#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper authored Mar 7, 2024
1 parent ca6d93b commit 4a3fecb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ type NodePoolReq struct {

// NodePoolReqUpdate struct used to update a node pool
type NodePoolReqUpdate struct {
NodeQuantity int `json:"node_quantity,omitempty"`
Tag *string `json:"tag,omitempty"`
MinNodes int `json:"min_nodes,omitempty"`
MaxNodes int `json:"max_nodes,omitempty"`
AutoScaler *bool `json:"auto_scaler,omitempty"`
NodeQuantity int `json:"node_quantity,omitempty"`
Tag *string `json:"tag,omitempty"`
MinNodes int `json:"min_nodes,omitempty"`
MaxNodes int `json:"max_nodes,omitempty"`
AutoScaler *bool `json:"auto_scaler,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
}

type vkeClustersBase struct {
Expand Down

0 comments on commit 4a3fecb

Please sign in to comment.