lib/rmd/deploy_service.rb in rmdd-0.1.9 vs lib/rmd/deploy_service.rb in rmdd-0.1.10

- old
+ new

@@ -30,10 +30,10 @@ system_cmd(command) end def self.bash(server) validate(server) - command = %{echo "DOCKER_HOST=:2375 docker exec -it ringmd_new_web_1 bash" | ssh -t #{master(server)} -p 2200} + command = %{ssh -t #{master(server)} -p 2200 DOCKER_HOST=:2375 docker exec -it ringmd_new_web_1 bash} system_cmd(command) end private