mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-05 07:26:56 +00:00
The function TryRunCommand() uses an exponential backoff, which is good, but it's inconsistent and only used in a couple of places. Remove its usage in the token.go#UpdateOrCreateTokens() and switch to using the standard function used in other places - PollUntilContextTimeout(). Remove wait.go#TryRunCommand(), as there are no other usages.