summaryrefslogtreecommitdiff
path: root/zuul/executor/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/executor/client.py')
-rw-r--r--zuul/executor/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/executor/client.py b/zuul/executor/client.py
index 06c2087f7..b21a290d5 100644
--- a/zuul/executor/client.py
+++ b/zuul/executor/client.py
@@ -245,7 +245,7 @@ class ExecutorClient(object):
for change in dependent_changes:
# We have to find the project this way because it may not
# be registered in the tenant (ie, a foreign project).
- source = self.sched.connections.getSourceByHostname(
+ source = self.sched.connections.getSourceByCanonicalHostname(
change['project']['canonical_hostname'])
project = source.getProject(change['project']['name'])
if project not in projects: