Unverified Commit 5f06a09b authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

fix missing block when there is no failure (#18775)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent f2fbe447
......@@ -167,7 +167,7 @@ class Message:
if self.n_failures > 0:
blocks.extend([self.category_failures])
if self.no_failures == 0:
if self.n_failures == 0:
blocks.append(self.no_failures)
return json.dumps(blocks)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment