diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-23 11:54:40 +0000 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2017-10-25 09:33:25 +0000 |
commit | 9285f004162efeb09b4622ffe28edeeeb43f4262 (patch) | |
tree | 94f7188d96fdb1715fdca0e52e712fe3db1f0971 | |
parent | 35d7051a07451e0647f60963d0485908b1d0139a (diff) | |
download | buildstream-9285f004162efeb09b4622ffe28edeeeb43f4262.tar.gz |
_pipeline.py: Give the correct artifact pull URL in remote ticker
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.py | 2 |
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") |