Skip to content

Commit 4a3fecb

Browse files
authored
Add labels to the node pool update request struct (#302)
1 parent ca6d93b commit 4a3fecb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

kubernetes.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,12 @@ type NodePoolReq struct {
117117

118118
// NodePoolReqUpdate struct used to update a node pool
119119
type NodePoolReqUpdate struct {
120-
NodeQuantity int `json:"node_quantity,omitempty"`
121-
Tag *string `json:"tag,omitempty"`
122-
MinNodes int `json:"min_nodes,omitempty"`
123-
MaxNodes int `json:"max_nodes,omitempty"`
124-
AutoScaler *bool `json:"auto_scaler,omitempty"`
120+
NodeQuantity int `json:"node_quantity,omitempty"`
121+
Tag *string `json:"tag,omitempty"`
122+
MinNodes int `json:"min_nodes,omitempty"`
123+
MaxNodes int `json:"max_nodes,omitempty"`
124+
AutoScaler *bool `json:"auto_scaler,omitempty"`
125+
Labels map[string]string `json:"labels,omitempty"`
125126
}
126127

127128
type vkeClustersBase struct {

0 commit comments

Comments
 (0)