Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#3266 from mr0re1/clean_policy
Browse files Browse the repository at this point in the history
SlurmGCP. Fix bug that prevents resourcePolicies clean up.
  • Loading branch information
mr0re1 authored Nov 16, 2024
2 parents c6ee4b1 + ce9f466 commit b061162
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 b061162

Please sign in to comment.