Skip to content

Commit

Permalink
修改一下参数名request_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
feiazifeiazi committed Sep 20, 2024
1 parent 7808b84 commit ab3981f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sql/db_diagnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ def process(request):
query_engine = get_engine(instance=instance)
query_result = None
# processlist方法已提升为父类方法,简化此处的逻辑。进程添加新数据库支持时,改前端即可。
query_result = query_engine.processlist(
command_type=command_type, **request_kwargs
)
query_result = query_engine.processlist(command_type=command_type, **request_kwargs)
if query_result:
if not query_result.error:
processlist = query_result.to_dict()
Expand Down

0 comments on commit ab3981f

Please sign in to comment.