[PATCH lkp-tests] lib/job2sh.rb: fix monitors run twice

21 Oct
2020
21 Oct
'20
6:52 p.m.
Signed-off-by: Wei Jihui <weijihuiall@163.com> --- lib/job2sh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/job2sh.rb b/lib/job2sh.rb index 75e28ef6..9c95ff4b 100755 --- a/lib/job2sh.rb +++ b/lib/job2sh.rb @@ -142,7 +142,7 @@ class Job2sh < Job end def parse_one(ancestors, key, val, pass) - if ['pp', 'define_files'].include?(key) + if ['pp', 'define_files', 'monitors'].include?(key) return false end tabs = indent(ancestors) -- 2.23.0
1643
Age (days ago)
1643
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wei Jihui