Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions src/taskgraph/util/taskgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@
def find_decision_task(parameters, graph_config):
"""Given the parameters for this action, find the taskId of the decision
task"""
if parameters.get("repository_type", "hg") == "hg":
return find_task_id(
"{}.v2.{}.pushlog-id.{}.decision".format(
graph_config["trust-domain"],
parameters["project"],
parameters["pushlog_id"],
)
)
elif parameters["repository_type"] == "git":
if parameters["repository_type"] == "git":
return find_task_id(
"{}.v2.{}.revision.{}.taskgraph.decision".format(
graph_config["trust-domain"],
Expand Down