Merge pull request #10098 from kjellwinblad/kjell/fix/mongo_authz_crash

fix: mongodb authz crash
This commit is contained in:
Kjell Winblad 2023-03-13 10:46:49 +01:00 committed by GitHub
commit baf39fe080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -240,7 +240,7 @@ http_common_fields() ->
mongo_common_fields() ->
[
{collection,
?HOCON(atom(), #{
?HOCON(binary(), #{
required => true,
desc => ?DESC(collection)
})},

View File

@ -0,0 +1 @@
A crash with an error in the log file that happened when the MongoDB authorization module queried the database has been fixed.

View File

@ -0,0 +1 @@
当MongoDB授权模块查询数据库时在日志文件中发生的崩溃与错误已经被修复。