Revert "Disable support for pattern match of a whole machine address"

This reverts commit 94221f1e91.
This commit is contained in:
Chaoguang Lin 2020-08-27 23:07:22 -07:00
parent 94221f1e91
commit caeeea365e
1 changed files with 0 additions and 6 deletions

View File

@ -1057,12 +1057,6 @@ Future<Optional<std::string>> ProcessClassRangeImpl::commit(ReadYourWritesTransa
error += " Do not include the `:tls' suffix when naming a process\n";
errorMsg = ManagementAPIError::toJsonString(false, "setclass", error);
return errorMsg;
} else if (addr.isWholeMachine()) {
std::string error = "ERROR: \'" + address.toString() +
"\' is a whole machine address which we do not support. Please apply the change on "
"each process individually\n";
errorMsg = ManagementAPIError::toJsonString(false, "setclass", error);
return errorMsg;
}
// validate class type
ValueRef processClassType = entry.second.get();