Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): fixed 'cache set' CLI regression due to kingpin change #2173

Merged
merged 1 commit into from Jul 10, 2022

Conversation

jkowalski
Copy link
Contributor

This was caused by a default -1ns which is no longer supported in latest Kingpin.

The effect was that kopia cache set without --max-list-cache-duration would fail. Unforutnately test was passing that flag so it was missed during the upgrade of dependency.

This was likely caused by alecthomas/kingpin#329

This was caused by a default `-1ns` which is no longer supported
in latest Kingpin.

The effect was that `kopia cache set` without
`--max-list-cache-duration` would fail. Unforutnately test was passing
that flag so it was missed.

This was likely caused by alecthomas/kingpin#329
@jkowalski jkowalski requested a review from adowair July 10, 2022 19:48
@codecov
Copy link

codecov bot commented Jul 10, 2022

Codecov Report

Merging #2173 (8a89afd) into master (8515d05) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2173      +/-   ##
==========================================
+ Coverage   74.55%   74.62%   +0.06%     
==========================================
  Files         425      425              
  Lines       33029    33030       +1     
==========================================
+ Hits        24625    24648      +23     
+ Misses       6618     6605      -13     
+ Partials     1786     1777       -9     
Impacted Files Coverage Δ
cli/command_cache_set.go 72.30% <100.00%> (+5.12%) ⬆️
snapshot/snapshotfs/upload.go 84.13% <0.00%> (+1.48%) ⬆️
internal/server/source_manager.go 82.68% <0.00%> (+1.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8515d05...8a89afd. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant