Remove redundant any2array (1)

The vnic_type_prohibit_list parameter accepts arrays only, so it's not
necessary to convert the value to an array.

Change-Id: Ida51b09108afd1d8642ef09463b717ca7fa2fb2d
This commit is contained in:
Takashi Kajinami
2024-09-13 17:31:10 +09:00
parent a4d9425fe8
commit 007e21ae58
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) {
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 {
neutron_plugin_ml2 {

View File

@@ -24,7 +24,7 @@ class neutron::plugins::ml2::sriov_driver (
){
if !empty($vnic_type_prohibit_list) {
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 {
neutron_plugin_ml2 {