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:
@@ -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 {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user