mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 18:34:28 +00:00
fix: 修复 json m2m field 中正则有问题匹配不正确
This commit is contained in:
@@ -79,6 +79,7 @@ class DBPortManager(object):
|
||||
for port, db_id in mapper.items():
|
||||
if db_id == str(db.id):
|
||||
return port
|
||||
|
||||
if raise_exception:
|
||||
error = _(
|
||||
'No available port is matched. '
|
||||
|
Reference in New Issue
Block a user