Skip to content

Commit

Permalink
Merge pull request #142 from puppetlabs/fix-pull-images
Browse files Browse the repository at this point in the history
(MAINT) Fix pull_images
  • Loading branch information
nwolfe authored Sep 12, 2019
2 parents 17c51d5 + f364322 commit ccf8999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gem/lib/pupperware/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def pull_images(ignore_service = nil)
puts "Pulling images"
else
puts "Pulling images (ignoring image for service #{ignore_service})"
services = services.gsub(ignore_service, '')
services = services.gsub("\n", ' ')
services.sub!(/^#{ignore_service}$/, '')
end
services.gsub!("\n", ' ')
docker_compose("pull --quiet #{services}", stream: STDOUT)
end

Expand Down

0 comments on commit ccf8999

Please sign in to comment.