summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-02-11 07:25:07 -0800
committerJames E. Blair <jeblair@redhat.com>2019-02-11 07:25:07 -0800
commitaa1cd8ed1c272bf59e0a4f47e0c3f96493fd1d38 (patch)
tree196e4cf642b362854f21b8e2138230fd2a34a6a7
parent07cd0862de103089207b95ca6b0968686852f67f (diff)
parentb4c96c2094d8b65e81c856bd4548c84ff0502074 (diff)
Merge branch 'master' of github.com:emonty/upgraded-octo-giggle
-rw-r--r--zuul-preview/main.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/zuul-preview/main.cc b/zuul-preview/main.cc
index 0187c1a..d2dc717 100644
--- a/zuul-preview/main.cc
+++ b/zuul-preview/main.cc
@@ -104,8 +104,7 @@ int main(int, char**)
104 // site.688b70499b9a41a08f498ed6e932960c.openstack 104 // site.688b70499b9a41a08f498ed6e932960c.openstack
105 // site.dbefc23dcc594577a8bfa4db4f9b0a8f.openstack 105 // site.dbefc23dcc594577a8bfa4db4f9b0a8f.openstack
106 106
107 auto val = cache.get(hostname); 107 if (auto val = cache.get(hostname)) {
108 if (val.has_value()) {
109 cout << val.value() << endl; 108 cout << val.value() << endl;
110 continue; 109 continue;
111 } 110 }