mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
I have evaluated TODO retry remove if feasible (#112383)
Hi team, hope u all doing well. I have checked TODO that to remove "retry" if feasible but it's important i think that it shouldn't be removed because it was used in every file on your repo. Update idempotency.go Update idempotency.go Update idempotency.go
This commit is contained in:
parent
d5e5f48b88
commit
b307321c0a
@ -341,8 +341,6 @@ func PatchNode(client clientset.Interface, nodeName string, patchFn func(*v1.Nod
|
||||
|
||||
// GetConfigMapWithRetry tries to retrieve a ConfigMap using the given client,
|
||||
// retrying if we get an unexpected error.
|
||||
//
|
||||
// TODO: evaluate if this can be done better. Potentially remove the retry if feasible.
|
||||
func GetConfigMapWithRetry(client clientset.Interface, namespace, name string) (*v1.ConfigMap, error) {
|
||||
var cm *v1.ConfigMap
|
||||
var lastError error
|
||||
|
Loading…
Reference in New Issue
Block a user