Pull request: querylog: fix panic

Merge in DNS/adguard-home from querylog-panic to master

Squashed commit of the following:

commit b7f2edd1d7dd91c0102b9cb4ea50c34d8d9ceb58
Merge: 1b355a2d fac574d3
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Sep 13 20:06:07 2021 +0300

    Merge branch 'master' into querylog-panic

commit 1b355a2df6bd96431a70111607470b873b742562
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Sep 13 19:41:58 2021 +0300

    querylog: fix panic
This commit is contained in:
Ainar Garipov
2021-09-13 20:16:06 +03:00
parent fac574d324
commit 9a1d3ec694
2 changed files with 48 additions and 50 deletions

View File

@@ -1962,14 +1962,14 @@
The rule due to which the client is allowed or blocked.
'name':
'description': >
Persistent client's name or runtime client's hostname.
Persistent client's name or runtime client's hostname. May be
empty.
'type': 'string'
'whois':
'$ref': '#/components/schemas/QueryLogItemClientWhois'
'required':
- 'disallowed'
- 'disallowed_rule'
- 'ids'
- 'name'
- 'whois'
'type': 'object'