Fix typo: "onn" -> "on"

Change-Id: I0600b36fa55c668b79b8601d24fceb77619f232b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6426181
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
This commit is contained in:
Dave Tapuska
2025-04-02 09:37:17 -07:00
committed by LUCI CQ
parent ee7178a211
commit f35efa5b85

View File

@@ -214,7 +214,7 @@ def CheckShouldUseSSO(host: str, email: str) -> SSOCheckResult:
except GerritError as e:
if e.http_status == 400:
# This is likely because the user doesn't have an account on the Gerrit host.
return SSOCheckResult(False, 'account missing onn Gerrit host')
return SSOCheckResult(False, 'account missing on Gerrit host')
raise
if any(email == r['email'] for r in records):
return SSOCheckResult(True, 'email is linked to @google.com email')