Commit 8b699d2
committed
UPSTREAM: 67093: improve config file modification time
Trades runtime complexity for spacial complexity when modifying
large amounts of contexts on a kubeconfig.
In cases where there are few destination filenames for a given
amount of contexts, but a large amount of contexts, this patch
prevents reading and writing to the same file (or small number
of files) over and over again needlessly.1 parent 5898a96 commit 8b699d2
File tree
1 file changed
+23
-6
lines changed- vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/clientcmd
1 file changed
+23
-6
lines changedLines changed: 23 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments