smartcloud 0.0.207 → 0.0.208
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/runner.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adafe9e2ccf72714c0082606352ca61345bd7350ff481d36756da5e3d5081898
|
4
|
+
data.tar.gz: 3d6ded3d6f1ef28480e127087d0af3adb6d802a630057f215aa17f002098c77a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03934f35ec7a363799e42cf55aee578edbd9f72112303a42bc9265de620f016739f8337b5d047f2f683be6f5cc002f0e1e5cf2170b45566eaf2e55a7239f0f3
|
7
|
+
data.tar.gz: 5ecf75135df067e5966d047c1cac1c3f2f5e0352fd6f8b74e48f6a416d62d0dd67ce542d6f947f26d18b225e0606323b47959905f3d7392b6384f957ed4a86dd
|
@@ -323,7 +323,7 @@ module Smartcloud
|
|
323
323
|
|
324
324
|
# Creating & Starting container
|
325
325
|
container_id = `docker ps -a -q --filter='name=^#{appname}_1$' --filter='status=running'`.chomp
|
326
|
-
new_container, old_container = container_id.empty? ? "#{appname}_1", "#{appname}_2" : "#{appname}_2", "#{appname}_1"
|
326
|
+
new_container, old_container = container_id.empty? ? ("#{appname}_1", "#{appname}_2") : ("#{appname}_2", "#{appname}_1")
|
327
327
|
|
328
328
|
self.stop_app("#{new_container}")
|
329
329
|
if system("docker create \
|