Skip to content

Commit 9e343fa

Browse files
remove extra params from update_priority
1 parent 297c2a3 commit 9e343fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codeflare_sdk/utils/generate_yaml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def update_labels(yaml, instascale, instance_types):
8989
metadata.pop("labels")
9090

9191

92-
def update_priority(yaml, item, workers, dispatch_priority):
92+
def update_priority(item, dispatch_priority):
9393
if dispatch_priority is not None:
9494
head = item.get("generictemplate").get("spec").get("headGroupSpec")
9595
worker = item.get("generictemplate").get("spec").get("workerGroupSpecs")[0]

0 commit comments

Comments
 (0)