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 10, 2018
1 parent 5898a96 commit 68ec3d8
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 6 deletions.

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

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

0 comments on commit 68ec3d8

Please sign in to comment.