fog-vsphere 3.6.4 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/vsphere/requests/compute/create_vm.rb +5 -2
- data/lib/fog/vsphere/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a169539c87e9059730923e051d3e08ef56a1d376d44a79cc95d13a8fe10756f2
|
4
|
+
data.tar.gz: bc058ee169f529dbd0d5ee6110fa1e08e2ee9d885f8e4b0ecf119af4a69fde94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce176624f1d5e490a885548c6bea5b6e19badc4f23316edb499ff521ebc251bac6a281ffea719301b0af5139d01e639b10dbbae6fe0883f24b33522b29685110
|
7
|
+
data.tar.gz: 67aafb6d34c2764899b3ccb3b88bb17f5334094df9483e288d1970950a88f38aa152dc7926a0b1c04beb01337032cac520586b8788da7d36fd55288e82c7c542
|
@@ -125,8 +125,11 @@ module Fog
|
|
125
125
|
def vm_path_name(attributes)
|
126
126
|
return '' if get_storage_pod_from_volumes(attributes)
|
127
127
|
datastore = attributes[:volumes].first.datastore unless attributes[:volumes].empty?
|
128
|
-
datastore
|
129
|
-
|
128
|
+
if datastore
|
129
|
+
"[#{datastore}]"
|
130
|
+
else
|
131
|
+
raise ArgumentError, 'Please mention the storage pod or the datastore'
|
132
|
+
end
|
130
133
|
end
|
131
134
|
|
132
135
|
def device_change(attributes)
|
data/lib/fog/vsphere/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.R. Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|