mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-07 01:15:21 +00:00
[5351] Several changes after review
This commit is contained in:
@@ -395,7 +395,7 @@ public:
|
||||
ConstElementPtr ctx = Element::fromJSON(user_context);
|
||||
if (!ctx || (ctx->getType() != Element::map)) {
|
||||
isc_throw(BadValue, "user context '" << user_context
|
||||
<< "' is no a JSON map");
|
||||
<< "' is not a JSON map");
|
||||
}
|
||||
host->setContext(ctx);
|
||||
} catch (const isc::data::JSONError& ex) {
|
||||
|
Reference in New Issue
Block a user