fixed: 流水线批量查询运行数据,改成一维数据方便使用
This commit is contained in:
parent
4dd920313c
commit
a73292ad98
|
@ -34,13 +34,10 @@ class Api::Pm::ActionRunsController < Api::Pm::BaseController
|
|||
|
||||
@result << {
|
||||
name: file,
|
||||
last_action_run: last_action_run_json,
|
||||
history: {
|
||||
total: total,
|
||||
success: success,
|
||||
failure: failure
|
||||
}
|
||||
}
|
||||
total: total,
|
||||
success: success,
|
||||
failure: failure
|
||||
}.merge(last_action_run)
|
||||
end
|
||||
render :json => @result
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue