Skip to content

Commit 6d3d9b2

Browse files
authored
Merge pull request #894 from JordanGunn/autoscalerspec-minmax-int
Fix: Mismatch between declared CRDs and struct for DaskAutoscalers
2 parents 3ff7989 + 9bf00f6 commit 6d3d9b2

File tree

1 file changed

+2
-2
lines changed
  • dask_kubernetes/operator/go_client/pkg/apis/kubernetes.dask.org/v1

1 file changed

+2
-2
lines changed

dask_kubernetes/operator/go_client/pkg/apis/kubernetes.dask.org/v1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ type DaskAutoscalerSpec struct {
124124
// Name of the cluster to associate this autoscaler with
125125
Cluster string `json:"cluster"`
126126
// Minimum number of workers
127-
Minimum string `json:"minimum"`
127+
Minimum int `json:"minimum"`
128128
// Maximum number of workers
129-
Maximum string `json:"maximum"`
129+
Maximum int `json:"maximum"`
130130
}
131131

132132
// +genclient

0 commit comments

Comments
 (0)