Merge pull request #417 from MaciekPytel/gke_alpha_client_fix
Fix a bug with parsing int64 in GKE alpha client
This commit is contained in:
commit
74d20a6cc7
|
|
@ -1221,12 +1221,12 @@
|
|||
"description": "Resource name \"cpu\", \"memory\" or gpu-specific string."
|
||||
},
|
||||
"minimum": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "Minimum amount of the resource in the cluster."
|
||||
},
|
||||
"maximum": {
|
||||
"type": "integer",
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "Maximum amount of the resource in the cluster."
|
||||
}
|
||||
|
|
|
|||
4
cluster-autoscaler/vendor/google.golang.org/api/container/v1alpha1/container-gen.go
generated
vendored
4
cluster-autoscaler/vendor/google.golang.org/api/container/v1alpha1/container-gen.go
generated
vendored
|
|
@ -2194,10 +2194,10 @@ func (s *PodSecurityPolicyConfig) MarshalJSON() ([]byte, error) {
|
|||
// the cluster.
|
||||
type ResourceLimit struct {
|
||||
// Maximum: Maximum amount of the resource in the cluster.
|
||||
Maximum int64 `json:"maximum,omitempty"`
|
||||
Maximum int64 `json:"maximum,omitempty,string"`
|
||||
|
||||
// Minimum: Minimum amount of the resource in the cluster.
|
||||
Minimum int64 `json:"minimum,omitempty"`
|
||||
Minimum int64 `json:"minimum,omitempty,string"`
|
||||
|
||||
// Name: Resource name "cpu", "memory" or gpu-specific string.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue