summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-23 11:54:40 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-23 11:55:35 +0000
commit80677ef796300ec9c5b1f833f7022ef62fa8418e (patch)
tree2aeb912c2190bbef6cdc9e5d09108bd2cbf58749
parent32667b24b801f9b51da026b08e89f7fc55d8ac65 (diff)
downloadbuildstream-sam/artifacts-url-fix.tar.gz
_pipeline.py: Give the correct artifact pull URL in remote tickersam/artifacts-url-fix
I was seeing messages like this: Fetching artifact list from None However, the artifact cache did have the correct pull URL set -- the issue was that I had overridden it my own config, and the string we sent to the ticker didn't take that override into account.
-rw-r--r--buildstream/_pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index ba105d8ff..275b2df7a 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -176,7 +176,7 @@ class Pipeline():
if self.artifacts.can_fetch():
try:
if remote_ticker:
- remote_ticker(context.artifact_pull)
+ remote_ticker(self.artifacts.artifact_pull)
self.artifacts.fetch_remote_refs()
except _ArtifactError:
self.message(self.target, MessageType.WARN, "Failed to fetch remote refs")