* [bug#59207] fix bug for count of finished deploy metric.

This commit is contained in:
liyang
2025-01-13 16:19:08 +08:00
committed by 曹延义
parent 1de843e0ec
commit a40c45e9d7
@@ -28,7 +28,7 @@ class count_of_finished_deployment extends baseCalc
public function calculate($row)
{
if(in_array($row->status, array('doing', 'success', 'failed'))) $this->result ++;
if(in_array($row->status, array('doing', 'success', 'fail'))) $this->result ++;
}
public function getResult($options = array())