Skip to content

Commit

Permalink
Merge pull request #457 from canonical/fix-default-error-threshold
Browse files Browse the repository at this point in the history
fix: default error threshold
  • Loading branch information
pedro-avalos authored Feb 6, 2025
2 parents 1119087 + ecc5618 commit 812945e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/testflinger_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def __init__(self):
or self.config.get("secret_key")
or os.environ.get("TESTFLINGER_SECRET_KEY")
)
error_threshold = self.config.get(
"error_threshold"
error_threshold = (
self.config.get("error_threshold")
or os.environ.get("TESTFLINGER_ERROR_THRESHOLD")
or 3
)
Expand Down

0 comments on commit 812945e

Please sign in to comment.