Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cbe023c

Browse files
committed
fix a condition in get_config
1 parent 90dddf0 commit cbe023c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎python/chaos_lib.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_config():
1616
value = json.loads(param.value)
1717
delay = value["delay"]
1818
isEnabled = value["isEnabled"]
19-
if isEnabled and delay > 0:
19+
if isEnabled and delay >= 0:
2020
return delay
2121
elif isEnabled and delay <= 0:
2222
return -1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /