You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ju...@apache.org on 2021/05/20 09:07:02 UTC
[buildstream] 01/02: fixup optional storage service
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a commit to branch juerg/remote-cache-ci
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 1de1bd431a3659bb3510fbebde75c45625d09770
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Thu May 20 11:01:51 2021 +0200
fixup optional storage service
---
src/buildstream/_frontend/widget.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/buildstream/_frontend/widget.py b/src/buildstream/_frontend/widget.py
index 9994818..2aaa4fd 100644
--- a/src/buildstream/_frontend/widget.py
+++ b/src/buildstream/_frontend/widget.py
@@ -497,7 +497,8 @@ class LogLine(Widget):
text += self.content_profile.fmt("Remote Execution Configuration\n", bold=True)
values = OrderedDict()
values["Execution Service"] = format_spec(specs.exec_spec)
- values["Storage Service"] = format_spec(specs.storage_spec)
+ if specs.storage_spec:
+ values["Storage Service"] = format_spec(specs.storage_spec)
if specs.action_spec:
values["Action Cache Service"] = format_spec(specs.action_spec)
text += self._format_values(values)