summaryrefslogtreecommitdiff
path: root/buildstream/_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_context.py')
-rw-r--r--buildstream/_context.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py
index 78ec9f8b2..9b45b99da 100644
--- a/buildstream/_context.py
+++ b/buildstream/_context.py
@@ -29,7 +29,7 @@ from . import _yaml
from ._exceptions import LoadError, LoadErrorReason, BstError
from ._message import Message, MessageType
from ._profile import Topics, profile_start, profile_end
-from ._artifactcache import artifact_cache_urls_from_config_node
+from ._artifactcache import artifact_cache_specs_from_config_node
# Context()
@@ -62,8 +62,8 @@ class Context():
# The local binary artifact cache directory
self.artifactdir = None
- # The URLs from which to push and pull prebuilt artifacts
- self.artifact_urls = []
+ # The locations from which to push and pull prebuilt artifacts
+ self.artifact_cache_specs = []
# The directory to store build logs
self.logdir = None
@@ -162,7 +162,7 @@ class Context():
setattr(self, dir, path)
# Load artifact share configuration
- self.artifact_urls = artifact_cache_urls_from_config_node(defaults)
+ self.artifact_cache_specs = artifact_cache_specs_from_config_node(defaults)
# Load logging config
logging = _yaml.node_get(defaults, Mapping, 'logging')