mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-30 21:50:01 +00:00
fix:资产自动推送UUIDD数组格式化字符串失败
This commit is contained in:
parent
9d4f1a01fd
commit
795d1b59e0
@ -35,6 +35,6 @@ def get_objects(model, pks):
|
||||
if len(objs) != len(pks):
|
||||
pks = set(pks)
|
||||
exists_pks = {o.id for o in objs}
|
||||
not_found_pks = ','.join(pks - exists_pks)
|
||||
not_found_pks = pks - exists_pks
|
||||
logger.error(f'DoesNotExist: <{model.__name__}: {not_found_pks}>')
|
||||
return objs
|
||||
|
Loading…
Reference in New Issue
Block a user