mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
[#1721] add [] in D2 JSON paths
to make the redacter look in the right place for "secret" entries
This commit is contained in:
@@ -312,7 +312,7 @@ D2CfgMgr::parse(isc::data::ConstElementPtr config_set, bool check_only) {
|
|||||||
std::list<std::list<std::string>>
|
std::list<std::list<std::string>>
|
||||||
D2CfgMgr::jsonPathsToRedact() const {
|
D2CfgMgr::jsonPathsToRedact() const {
|
||||||
static std::list<std::list<std::string>> const list({
|
static std::list<std::list<std::string>> const list({
|
||||||
{"tsig-keys"},
|
{"tsig-keys", "[]"},
|
||||||
});
|
});
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user