Remove redundant usage of pick function
The cpu_shared_set parameter and the cpu_dedicated_set parameter are set to $::os_service_default by default, so we don't need to implement a safe default by pick function. Change-Id: I69fe5993232a8b37e4b9f527548932c6a2f83864
This commit is contained in:
@@ -359,8 +359,8 @@ class nova::compute (
|
||||
include nova::deps
|
||||
include nova::params
|
||||
|
||||
$cpu_shared_set_real = pick(join(any2array($cpu_shared_set), ','), $::os_service_default)
|
||||
$cpu_dedicated_set_real = pick(join(any2array($cpu_dedicated_set), ','), $::os_service_default)
|
||||
$cpu_shared_set_real = join(any2array($cpu_shared_set), ',')
|
||||
$cpu_dedicated_set_real = join(any2array($cpu_dedicated_set), ',')
|
||||
|
||||
$image_type_exclude_list_real = pick(join(any2array($image_type_exclude_list), ','), $::os_service_default)
|
||||
|
||||
|
Reference in New Issue
Block a user