Skip to content

Commit

Permalink
disable add hosts into zone (#3825)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
darionyaphet and Sophie-Xie committed Jan 26, 2022
1 parent 6373ae6 commit ff9c84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/validator/MaintainValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ Status ListZonesValidator::toPlan() {
}

Status AddHostsIntoZoneValidator::validateImpl() {
return Status::OK();
return Status::SemanticError("Add hosts into zone is unsupported");
}

Status AddHostsIntoZoneValidator::toPlan() {
Expand Down

0 comments on commit ff9c84c

Please sign in to comment.