lib/dockly/build_cache/docker.rb in dockly-1.4.7 vs lib/dockly/build_cache/docker.rb in dockly-1.4.8
- old
+ new
@@ -71,9 +71,9 @@
resp = ""
debug "running command `#{command}` on image #{image.id}"
container = image.run(["/bin/bash", "-lc", "cd #{command_directory} && #{command}"])
container.attach { |source,chunk| resp += chunk }
status = container.wait['StatusCode']
- debug "`#{command}` exited with status #{status}, resulting container id: #{conatiner.id}"
+ debug "`#{command}` exited with status #{status}, resulting container id: #{container.id}"
[status, resp.strip, container]
end
end