diff --git a/src/taskgraph/util/taskgraph.py b/src/taskgraph/util/taskgraph.py index a368f4e11..c07c01cea 100644 --- a/src/taskgraph/util/taskgraph.py +++ b/src/taskgraph/util/taskgraph.py @@ -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"],