Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

标签管理:更新标签接口: PUT v1/cmdb/tag/。dbs 为空是,异常。 #42

Open
xiguazao opened this issue Jan 28, 2021 · 0 comments

Comments

@xiguazao
Copy link

https://github.com/opendevops-cn/codo-cmdb/blob/master/biz/handlers/asset_tag_handler.py

135行:
db_id_list = data.get('dbs')

178 行:
session.add_all([
DBTag(db_id=i, tag_id=tag_id) for i in db_id_list
])

报错信息:
TypeError: 'NoneType' object is not iterable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant