mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 10:47:47 +08:00
bugfix: cmdb-api auto_discovery add unique_value param
自动发现接口需要根据unique_value参数进行数据唯一性校验,此参数为必填项
This commit is contained in:
@@ -225,6 +225,7 @@ class AutoDiscoveryCIView(APIView):
|
||||
@args_required("type_id")
|
||||
@args_required("adt_id")
|
||||
@args_required("instance")
|
||||
@args_required("unique_value")
|
||||
def post(self):
|
||||
request.values.pop("_key", None)
|
||||
request.values.pop("_secret", None)
|
||||
|
Reference in New Issue
Block a user