Skip to content

Commit

Permalink
SlurmGCP. Fix bug that prevents resourcePolicies clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mr0re1 committed Nov 15, 2024
1 parent 3f66bf0 commit c9a4854
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def sync_placement_groups():
op = act.aggregatedList(project=lookup().project, fields=fields, filter=flt)
placement_groups = {}
pg_regex = re.compile(
rf"{lookup().cfg.slurm_cluster_name}-(?P<partition>[^\s\-]+)-(?P<job_id>\d+)-(?P<index>\d+)"
rf"{lookup().cfg.slurm_cluster_name}-slurmgcp-managed-(?P<partition>[^\s\-]+)-(?P<job_id>\d+)-(?P<index>\d+)"
)
while op is not None:
result = ensure_execute(op)
Expand Down

0 comments on commit c9a4854

Please sign in to comment.