Skip to content

Commit

Permalink
fix check case
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy committed Sep 27, 2024
1 parent f2606aa commit 1c02655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handler/checker/tasks/observer/cluster/task_opt_stat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ WHERE NOT EXISTS(SELECT 1
AND h.tenant_id = t.tenant_id);'
result:
set_value: failed_scheduler_tenant_id
verify: '[ -n "${failed_scheduler_tenant_id}" ]'
verify: '[ -z "${failed_scheduler_tenant_id}" ]'
err_msg: "failed_scheduler_tenant_id is exists. Please check the tenant_ids: #{failed_scheduler_tenant_id}"
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
info: 'Check the flags of cpu'
task:
- steps:
- version: "[4.2.0.0,4.2.0.0]"
steps:
- type: ssh
ssh: "lscpu |grep Flags"
result:
Expand Down

0 comments on commit 1c02655

Please sign in to comment.