From c61b6078a350a66d995f3ab7568c1a318b1c74e1 Mon Sep 17 00:00:00 2001
From: Austin Anderson <angerson@google.com>
Date: Tue, 9 May 2023 13:56:23 -0700
Subject: [PATCH] Fix typo

---
 tf_oss_dashboard/dashboard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tf_oss_dashboard/dashboard.py b/tf_oss_dashboard/dashboard.py
index 57a907d..b6efa83 100755
--- a/tf_oss_dashboard/dashboard.py
+++ b/tf_oss_dashboard/dashboard.py
@@ -241,7 +241,7 @@ for category in YAML_CONFIG["badges"]:
   total = len(by_group[category])
   passed = sum([jobs[0]["passing"] for name, jobs in by_group[category].items()])
   failed = total - passed
-  if failing == 0:
+  if failed == 0:
     url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, 0 failed&color=success"
   else:
     url = f"https://img.shields.io/static/v1?label={category}&message={passed} passed, {failed} failed&color=critical"
-- 
GitLab