提交 43d64fb1 编写于 作者: C chenchao99

the filter condition is_display_op_detail validates error in the restful

api of minddata pipeline
上级 54758ce8
......@@ -296,7 +296,7 @@ def validate_minddata_pipeline_condition(condition):
elif key == 'op_type':
validate_op_filter_condition(value)
elif key == 'is_display_op_detail':
if not isinstance(key, bool):
if not isinstance(value, bool):
raise ProfilerFilterConditionException(
"The condition must be bool."
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册