vagrant-mcs 0.7.10 → 0.7.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-mcs/action/read_state.rb +2 -2
- data/lib/vagrant-mcs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ef6cfa50cc8a2036001e9cb9f992ee83eb60736
|
4
|
+
data.tar.gz: cad576f157795a7eddc32a9befaa64256200a9d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9cca082bafe4b5db66ece07a2ec1336b853d50f5d50e21f0789a091f8f2d0926fd20dde38baeb70035b8d6da922eca72121fc754e70e8728780a62bd1718d03
|
7
|
+
data.tar.gz: af9bf7e891b2daf475df507a43e9cde18cb0db5f72be3cede4cb65b97db62968115b07713701d0d55249f164a68333ca34ffa015e663e7bb3db88f2269c9e9de
|
@@ -25,7 +25,7 @@ module VagrantPlugins
|
|
25
25
|
#puts machine.id
|
26
26
|
server = mcs.describe_instances(machine.id)
|
27
27
|
#server = mcs.servers.get(machine.id)
|
28
|
-
if server.nil? || [:"shutting-down", :terminated].include?(server["status"].to_sym)
|
28
|
+
if server.nil? || [:"shutting-down", :terminated].include?((server["status"]).to_sym)
|
29
29
|
# The machine can't be found
|
30
30
|
@logger.info("Machine not found or terminated, assuming it got destroyed.")
|
31
31
|
machine.id = nil
|
@@ -33,7 +33,7 @@ module VagrantPlugins
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# Return the state
|
36
|
-
return server["status"].to_sym
|
36
|
+
return (server["status"]).to_sym
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
data/lib/vagrant-mcs/version.rb
CHANGED