lib/inspec/resources/docker_service.rb in inspec-4.7.3 vs lib/inspec/resources/docker_service.rb in inspec-4.7.18

- old
+ new

@@ -79,9 +79,10 @@ opts.merge(parse_components_from_image(opts[:image])) end def object_info return @info if defined?(@info) + opts = @opts @info = inspec.docker.services.where do name == opts[:name] || image == opts[:image] || (!id.nil? && !opts[:id].nil? && (id == opts[:id] || id.start_with?(opts[:id]))) end end