Merge "Remove redundant any2array (1)"

This commit is contained in:
Zuul 2024-09-13 17:57:28 +00:00 committed by Gerrit Code Review
commit 7b6480d295
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class neutron::plugins::ml2::ovs_driver (
){ ){
if !empty($vnic_type_prohibit_list) { if !empty($vnic_type_prohibit_list) {
neutron_plugin_ml2 { neutron_plugin_ml2 {
'ovs_driver/vnic_type_prohibit_list': value => join(any2array($vnic_type_prohibit_list), ','); 'ovs_driver/vnic_type_prohibit_list': value => join($vnic_type_prohibit_list, ',');
} }
} else { } else {
neutron_plugin_ml2 { neutron_plugin_ml2 {

View File

@ -24,7 +24,7 @@ class neutron::plugins::ml2::sriov_driver (
){ ){
if !empty($vnic_type_prohibit_list) { if !empty($vnic_type_prohibit_list) {
neutron_plugin_ml2 { neutron_plugin_ml2 {
'sriov_driver/vnic_type_prohibit_list': value => join(any2array($vnic_type_prohibit_list), ','); 'sriov_driver/vnic_type_prohibit_list': value => join($vnic_type_prohibit_list, ',');
} }
} else { } else {
neutron_plugin_ml2 { neutron_plugin_ml2 {