From 97f65bfa392b5663e023f5bee46697e778423b55 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Mon, 28 Aug 2023 17:02:22 +0800
Subject: [PATCH] fix the validation function of input

---
 agents/ocf/HealthCPU.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/agents/ocf/HealthCPU.in b/agents/ocf/HealthCPU.in
index a852a7a..4bd6e36 100755
--- a/agents/ocf/HealthCPU.in
+++ b/agents/ocf/HealthCPU.in
@@ -207,7 +207,7 @@ meta-data)      meta_data
                 ;;
 start)          healthcpu_start;;
 stop)           healthcpu_stop;;
-monitor)        healthcpu_monitor;;
+monitor)        healthcpu_validate && healthcpu_monitor;;
 reload-agent)   healthcpu_reload_agent;;
 validate-all)   healthcpu_validate;;
 usage|help)     healthcpu_usage
-- 
2.33.1.windows.1

