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 <[email protected]>
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)

Reply via email to