lib/container_ship/command/modules/docker.rb in container_ship-0.1.0 vs lib/container_ship/command/modules/docker.rb in container_ship-0.1.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module ContainerShip
module Command
module Modules
module Docker
def push_image(task_definition)
@@ -13,10 +15,10 @@
status = nil
Open3.popen3(command) do |_i, o, _e, w|
o.each { |line| puts line }
status = w.value
end
- exit(status.exit_status) unless status.success?
+ exit(status.exitstatus) unless status.success?
end
end
end
end
end