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

feat: accept filters and keep_storage in prune_builds #3192

Merged
merged 4 commits into from
Dec 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docker/api/build.py
Signed-off-by: Milas Bowman <devnull@milas.dev>
  • Loading branch information
milas authored Dec 5, 2023
commit 3bb9f34ef02515f6dc0e1202acc2ea5f25c07e39
4 changes: 2 additions & 2 deletions docker/api/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ def prune_builds(self, filters=None, keep_storage=None, all=None):
params['filters'] = utils.convert_filters(filters)
if keep_storage is not None:
params['keep-storage'] = keep_storage
if keep_storage is not None:
params['keep-storage'] = keep_storage
if all is not None:
params['all'] = all
return self._result(self._post(url, params=params), True)

def _set_auth_headers(self, headers):
Expand Down