From 195960d605f1f8fb05f08922d70b996eeaaac2fb Mon Sep 17 00:00:00 2001 From: yaphet <4414314+darionyaphet@users.noreply.github.com> Date: Wed, 26 Jan 2022 20:02:02 +0800 Subject: [PATCH] disable add hosts into zone (#3825) Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> --- src/graph/validator/MaintainValidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/validator/MaintainValidator.cpp b/src/graph/validator/MaintainValidator.cpp index 80706a19c28..75b06660b16 100644 --- a/src/graph/validator/MaintainValidator.cpp +++ b/src/graph/validator/MaintainValidator.cpp @@ -570,7 +570,7 @@ Status ShowZonesValidator::toPlan() { } Status AddHostsIntoZoneValidator::validateImpl() { - return Status::OK(); + return Status::SemanticError("Add hosts into zone is unsupported"); } Status AddHostsIntoZoneValidator::toPlan() {