From 6b58fdefefd99d940a4ea6db97904b45fc1c591d Mon Sep 17 00:00:00 2001 From: Trey Dockendorf Date: Fri, 5 Aug 2022 12:11:39 -0400 Subject: [PATCH] Fix lack of cluster key in cluster YAML --- lib/slurm_squeue_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slurm_squeue_client.rb b/lib/slurm_squeue_client.rb index ae698d3..1b2e6fc 100644 --- a/lib/slurm_squeue_client.rb +++ b/lib/slurm_squeue_client.rb @@ -17,7 +17,7 @@ def initialize(cluster) end @cluster_id = cluster.id - @canonical_cluster_id = cluster.job_config[:cluster] + @canonical_cluster_id = cluster.id @cluster_title = cluster.metadata.title || cluster.id.titleize @job_scheduler = cluster.job_config[:adapter]