Skip to content

Commit 9d86194

Browse files
committed
Add prune_builds to DockerClient
Signed-off-by: Joffrey F <[email protected]>
1 parent 94e9108 commit 9d86194

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/models/images.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ def prune(self, filters=None):
432432
return self.client.api.prune_images(filters=filters)
433433
prune.__doc__ = APIClient.prune_images.__doc__
434434

435+
def prune_builds(self, *args, **kwargs):
436+
return self.client.api.prune_builds(*args, **kwargs)
437+
prune_builds.__doc__ = APIClient.prune_builds.__doc__
438+
435439

436440
def normalize_platform(platform, engine_info):
437441
if platform is None:

0 commit comments

Comments
 (0)