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