Skip to content

Commit

Permalink
fix check_task.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy committed May 9, 2024
1 parent 99ecb68 commit 09a9779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions handler/checker/check_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def execute_one_node(self,steps_nu,node):
step_run = StepBase(self.context, step, node, self.cluster, self.task_variable_dict)
self.stdio.verbose("step nu: {0} initted, to execute".format(nu))
step_run.execute(self.report)
self.task_variable_dict=step_run.update_task_variable_dict()
if "report_type" in step["result"] and step["result"]["report_type"] == "execution":
self.stdio.verbose("report_type stop this step")
return
Expand Down
4 changes: 2 additions & 2 deletions handler/checker/tasks/observer/cluster/sys_log_level.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task:
set_value: sys_log_level
report_type: warning
verify: '[[ $sys_log_level == "WDIAG" ]]'
err_msg: "on 4.x, the recommended value for sys_log_level is WDIAG"
err_msg: "sys_log_level: #{sys_log_level}. on 4.x, the recommended value for sys_log_level is WDIAG"

- version: "[3.0.0,4.0.0.0)"
steps:
Expand All @@ -18,4 +18,4 @@ task:
set_value: sys_log_level
report_type: warning
verify: '[[ $sys_log_level == "INFO" ]]'
err_msg: "on 3.x, the recommended value for sys_log_level is INFO"
err_msg: "sys_log_level: #{sys_log_level}. on 3.x, the recommended value for sys_log_level is INFO"

0 comments on commit 09a9779

Please sign in to comment.