Skip to content

Commit

Permalink
Fix the negetive value extraction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TZ-zzz committed Feb 14, 2025
1 parent 14e4695 commit bd80511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/strimzi-kafka-operator/v0-45-0/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def check(
value = True
elif value == "false":
value = False
elif re.match(r"^\d+$", value) or re.match(r"^\d+\.\d+$", value):
elif re.match(r"^-?\d+$", value) or re.match(r"^-?\d+\.\d+$", value):
value = float(value)
runtime_config[name] = value

Expand Down

0 comments on commit bd80511

Please sign in to comment.