Skip to content

Commit

Permalink
fix renamed var in v1alpha sample to update alert
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 652561384
  • Loading branch information
dandye authored and copybara-github committed Jul 16, 2024
1 parent 82e6b8d commit 99b24bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions detect/v1alpha/update_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,14 @@ def check_args(
"""
if not any(
[
args_to_check.comment or args.comment == "", # pylint: disable=g-explicit-bool-comparison
args_to_check.comment or args_to_check.comment == "", # pylint: disable=g-explicit-bool-comparison
args_to_check.disregarded,
args_to_check.priority,
args_to_check.reason,
args_to_check.reputation,
args_to_check.risk_score or args.risk_score == 0,
args_to_check.root_cause or args.root_cause == "", # pylint: disable=g-explicit-bool-comparison
args_to_check.severity or args.severity == 0,
args_to_check.risk_score or args_to_check.risk_score == 0,
args_to_check.root_cause or args_to_check.root_cause == "", # pylint: disable=g-explicit-bool-comparison
args_to_check.severity or args_to_check.severity == 0,
args_to_check.status,
args_to_check.verdict,
]
Expand Down

0 comments on commit 99b24bd

Please sign in to comment.