Skip to content

Commit

Permalink
UPSTREAM: 67093: improve config file modification time
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
juanvallejo committed Aug 7, 2018
1 parent 5898a96 commit 8b699d2
Showing 1 changed file with 23 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b699d2

Please sign in to comment.