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 RemoveCacheCommand with empty path #1239

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

franmomu
Copy link
Contributor

@franmomu franmomu commented Oct 26, 2019

Q A
Branch? 2.0
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #1236
License MIT
Doc PR

In #1222 the path for RemoveCacheCommand was made mandatory, so there is no way to remove all images and filters as before.

As paths can be multiple I changed it back to paths. I don't like very much the solution because if you execute the command you would get:

 - [OKAY] Completed 0 removals (0 images, 7 filters)

which is a little bit weird, so any suggestion is more than welcome.

Now it says:

 -
 - [OKAY] Completed 7 removals (7 filters)
 -

@franmomu franmomu force-pushed the fix_remove_cache_command branch from 664dcce to e9548e9 Compare October 29, 2019 21:47
@franmomu franmomu force-pushed the fix_remove_cache_command branch from e9548e9 to 2211cf2 Compare November 28, 2019 11:58
@michellesanver michellesanver added this to the 2.3.0 milestone Nov 29, 2019
@michellesanver
Copy link
Contributor

Thanks a lot for this fix! :)

@michellesanver michellesanver merged commit 810e45a into liip:master Nov 29, 2019
@franmomu franmomu deleted the fix_remove_cache_command branch November 29, 2019 21:12
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.

2 participants