Skip to content

Commit

Permalink
Merge pull request #580 from kaspernj/image/use-connection-for-podman…
Browse files Browse the repository at this point in the history
…-check

Image: Use connection for Podman check
  • Loading branch information
ls-todd-lunter authored May 5, 2022
2 parents 8fbecb9 + 150b96c commit 6f7b7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docker/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def remove(opts = {})
name = opts.delete(:name)

unless name
if ::Docker.podman?
if ::Docker.podman?(connection)
name = self.id.split(':').last
else
name = self.id
Expand Down

0 comments on commit 6f7b7cd

Please sign in to comment.