smartcloud 0.1.0.beta1 → 0.1.0.beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 507e5f6c5d4a018ae4cbdb342779b71484e30c992a4a246ef3fd09fb3752a5fc
|
|
4
|
+
data.tar.gz: 1f2683e0924f36adb18970eb4ec6a4c7cf38e5e271250f955fc341303553f26b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfd2066f683a2608fdc7707271fd908b4535709ecae854e5305fec54904a82607331bf7254c56104d0445739ee7aaa8cb300a18715bd270400eb77736df42ab7
|
|
7
|
+
data.tar.gz: 42f73a8921015003eede55825f74d3d41a97f14be9e47a32803447e075b1887382d3c316aa15cb99ccf00755b3cc46376bd1bf359eb01bfae17c6394f2f6eced
|
|
@@ -325,7 +325,7 @@ module Smartcloud
|
|
|
325
325
|
container_id = `docker ps -a -q --filter='name=^#{appname}_1$' --filter='status=running'`.chomp
|
|
326
326
|
new_container = container_id.empty? ? "#{appname}_1" : "#{appname}_2"
|
|
327
327
|
old_container = container_id.empty? ? "#{appname}_2" : "#{appname}_1"
|
|
328
|
-
|
|
328
|
+
|
|
329
329
|
self.stop_app("#{new_container}")
|
|
330
330
|
if system("docker create \
|
|
331
331
|
--name='#{new_container}' \
|