diff --git a/cookbooks/aws-parallelcluster-slurm/libraries/update.rb b/cookbooks/aws-parallelcluster-slurm/libraries/update.rb index c4b46a5dd6..b3c4309a78 100644 --- a/cookbooks/aws-parallelcluster-slurm/libraries/update.rb +++ b/cookbooks/aws-parallelcluster-slurm/libraries/update.rb @@ -85,5 +85,5 @@ def is_custom_munge_key_updated? end def is_login_nodes_pool_name_updated? - config_parameter_changed?(%w(LoginNodes Pools 0 Name)) + config_parameter_changed?(['LoginNodes', 'Pools', 0, 'Name']) end