Skip to content

Commit

Permalink
use a list in is_login_nodes_pool_name_updated? input instead of %w
Browse files Browse the repository at this point in the history
  • Loading branch information
hehe7318 committed Oct 3, 2023
1 parent e1e8608 commit 6ff6bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/aws-parallelcluster-slurm/libraries/update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ff6bb1

Please sign in to comment.