summaryrefslogtreecommitdiff
path: root/src/buildstream/_cas/cascache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_cas/cascache.py')
-rw-r--r--src/buildstream/_cas/cascache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index fb991f6c5..4ddb6a644 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -111,7 +111,7 @@ class CASCache():
assert self._casd_process_manager, "CASCache was instantiated without buildbox-casd"
if not self._casd_channel:
- self._casd_channel = grpc.insecure_channel('unix:' + self._casd_process_manager.socket_path)
+ self._casd_channel = grpc.insecure_channel(self._casd_process_manager.connection_string)
self._casd_cas = remote_execution_pb2_grpc.ContentAddressableStorageStub(self._casd_channel)
self._local_cas = local_cas_pb2_grpc.LocalContentAddressableStorageStub(self._casd_channel)
@@ -1075,5 +1075,5 @@ def _grouper(iterable, n):
#
class _LimitedCASDProcessManagerProxy:
def __init__(self, casd_process_manager):
- self.socket_path = casd_process_manager.socket_path
+ self.connection_string = casd_process_manager.connection_string
self.start_time = casd_process_manager.start_time