Fix get incorrect argument in hash (Glance VMware)
vc_ca_file not contain any data if user not specify CA certificate
bundle.
Change-Id: I98b1f6411071586060f80a363952502b7ff3e08e
Closes-bug: #1559067
(cherry picked from commit 1ae0afc43e
)
This commit is contained in:
parent
e00ef91189
commit
c4ec151cc0
|
@ -303,7 +303,7 @@ class openstack_tasks::glance::glance {
|
|||
}
|
||||
}
|
||||
'vmware': {
|
||||
if ! empty($glance_vcenter_ca_file['content']) {
|
||||
if ! empty($glance_vcenter_ca_file) {
|
||||
$vcenter_ca_filename = $glance_vcenter_ca_file['name']
|
||||
$vcenter_ca_filepath = "/etc/glance/${glance_vcenter_ca_filename}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue