summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/sources
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-10-10 11:03:52 +0200
committerJürg Billeter <j@bitron.ch>2019-10-15 09:43:08 +0200
commit3578f9207f60b62f6ad2a70f0a1e9b60940d0fc1 (patch)
treee549deb4dc1ccaeb284176bee97007f40d56f5d8 /src/buildstream/plugins/sources
parent9e1b956a6b114b4a7b0c8ecd9bbcc8df133c33f4 (diff)
downloadbuildstream-3578f9207f60b62f6ad2a70f0a1e9b60940d0fc1.tar.gz
cascache.py: Rename close_channel() to close_grpc_channels()
This aligns the method name with has_open_grpc_channels().
Diffstat (limited to 'src/buildstream/plugins/sources')
-rw-r--r--src/buildstream/plugins/sources/workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index 0e7797fe8..078ac3034 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -104,7 +104,7 @@ class WorkspaceSource(Source):
reason='ensure-stage-dir-fail')
self.__digest = self.__cas_dir._get_digest().hash
# now close down grpc channels
- cas.close_channel()
+ cas.close_grpc_channels()
assert not cas.has_open_grpc_channels()
return (self.path, self.__digest)