fog-kubevirt 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e231b4d296140ac0ca47ba87e7e505045a175b
|
4
|
+
data.tar.gz: 544172769894bdd6ae6500ddf13bc4c8664844e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24894d4f40469c4e607aa35cfa88a09809001d70e264ad8673f858e7e3a9862f07556b4c8672a1c5d283d7cbc0d2b004d2b66419414149fdd16102f5e443e3e
|
7
|
+
data.tar.gz: 802ab241d152f50068b3a0d2379e423d2d41307f07fa32cf67f86ba40cd0d5e5af8bbde631175b14f3121d6a1c4c5862f636d2818082c9195c04d876b4d516d6
|
@@ -218,14 +218,14 @@ module Fog
|
|
218
218
|
end
|
219
219
|
|
220
220
|
def valid?
|
221
|
+
kube_client.api_valid?
|
222
|
+
|
221
223
|
begin
|
222
224
|
kube_client.get_namespace(namespace)
|
223
225
|
rescue => err
|
224
226
|
@log.warn("The namespace [#{namespace}] does not exist on the kubernetes cluster: #{err.message}")
|
225
227
|
raise "The namespace '#{namespace}' does not exist on the kubernetes cluster"
|
226
228
|
end
|
227
|
-
|
228
|
-
kube_client.api_valid?
|
229
229
|
end
|
230
230
|
|
231
231
|
class WatchWrapper
|
@@ -19,8 +19,10 @@ module Fog
|
|
19
19
|
service.delete_vm(name, namespace)
|
20
20
|
end
|
21
21
|
|
22
|
+
# TODO: Once IP Addresses are reported to any networks, we should consider also
|
23
|
+
# the availabity of it (by extending the condition with !ip_address.empty?)
|
22
24
|
def ready?
|
23
|
-
running?(status) && running?(state)
|
25
|
+
running?(status) && running?(state)
|
24
26
|
end
|
25
27
|
|
26
28
|
def self.parse(object)
|
data/lib/fog/kubevirt/version.rb
CHANGED