Commit Graph

9 Commits

Author SHA1 Message Date
Omer Aplatony 2bb31e1a0f Replace PollImmediate with PollUntilContextTimeout (#128147)
* Replace PollImmediate with PollUntilContextTimeout

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* Add context to RetryErrorCondition function

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* lint: fix error comparison in scale package

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* Fix RetryErrorCondition function signature

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

* revert to if err statement

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

---------

Signed-off-by: Omer Aplatony <omerap12@gmail.com>

Kubernetes-commit: 9d816f1587c918e7acae6d9195d33606aec998b1
2024-11-07 16:57:29 +02:00
drfish 6492d5773b Fix unsafe json construction for scale.go and codec_check.go
Kubernetes-commit: ef469a740a24b87f501606c897ea849d6478e162
2020-02-29 22:14:06 +08:00
Julian V. Modesto 489b062728 Support kubectl scale --dry-run=server|client
Kubernetes-commit: efed958779d564357a9965fccf43f64ee1feb972
2020-03-30 17:33:15 -04:00
Julian V. Modesto 5afacb6c84 Add context and options to scale client
Kubernetes-commit: da3c3432d8361f315e7f562563e68316b10b9a2d
2020-02-26 18:39:57 -05:00
gavinfish 275513cb52 Staticcheck: vendor/k8s.io/kubectl/pkg/scale|describe/versioned|cmd/top|cmd/util/editor|cmd/top
Kubernetes-commit: f4940cf55fd7c2787b370464d491a764c4febd78
2020-01-21 10:13:10 +08:00
danielqsj 4b914450ab unify alias of api errors under pkg and staging
Kubernetes-commit: 5bc0e26c1902e7e28abfc828de19a2dbb3e492c2
2019-11-12 16:26:59 +08:00
knight42 16cef1b254 test(scale): fix tests
Kubernetes-commit: 92c4c2ec72d949c15b5d7c45d91f8e9385873d2f
2019-08-22 17:51:10 +08:00
knight42 8f0927a4b0 fix: patch the Scale subresource if no precondition was given
Kubernetes-commit: c02d141b134d4dee17f7b1e87a65d13ae93d80a3
2019-08-13 10:50:25 +08:00
Sean Sullivan 8fd13deb58 Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
Kubernetes-commit: c011df28a468145f76af78fdad87ca3909a8fab2
2019-07-30 15:31:20 -07:00