Skip to content

Commit

Permalink
Avoid checking ScalingStrategy parameter at compile time
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sirena <[email protected]>
  • Loading branch information
NSsirena committed Oct 9, 2023
1 parent d754cf9 commit 1fc1e2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
head_node_hostname: on_docker? ? 'local_hostname' : node['ec2']['local_hostname'],
clustermgtd_heartbeat_file_path: "#{node['cluster']['slurm']['install_dir']}/etc/pcluster/.slurm_plugin/clustermgtd_heartbeat",
instance_id: on_docker? ? 'instance_id' : node['ec2']['instance_id'],
scaling_strategy: node['cluster']['config'].dig(:Scheduling, :ScalingStrategy)
scaling_strategy: lazy { node['cluster']['config'].dig(:Scheduling, :ScalingStrategy) }
)
end

0 comments on commit 1fc1e2c

Please sign in to comment.