mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
The kubeadm dry run client reactor code is flawed as it assumes all invoked "get" verb actions can be casted to GetAction. Apparently that is not the case when Discovery().ServerVersion() and other discovery calls are made. In such cases the action type is the bare ActionImpl. Catch if an action can be casted to ActionImpl and construct a GetAction from it. GetActionImpl only suppersets ActionImpl with a Name field (empty string in this case). Add unit test for Discovery().ServerVersion(). |
||
---|---|---|
.. | ||
clientbacked_dryrun.go | ||
dryrunclient_test.go | ||
dryrunclient.go | ||
idempotency_test.go | ||
idempotency.go | ||
init_dryrun_test.go | ||
init_dryrun.go | ||
wait.go |