summaryrefslogtreecommitdiff
path: root/src/buildstream/_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_context.py')
-rw-r--r--src/buildstream/_context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py
index d3262c0e4..ed58ccfa2 100644
--- a/src/buildstream/_context.py
+++ b/src/buildstream/_context.py
@@ -334,7 +334,7 @@ class Context:
self.source_cache_specs = SourceCache.specs_from_config_node(defaults)
# Load remote execution config
- self.remote_execution_specs = SandboxRemote.specs_from_config_node(defaults)
+ self.remote_execution_specs = SandboxRemote.specs_from_config_node(defaults, remote_cache=bool(remote_cache))
# Load pull build trees configuration
self.pull_buildtrees = cache.get_bool("pull-buildtrees")