Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Refactor chart
Browse files Browse the repository at this point in the history
  • Loading branch information
aslihanozfidan committed Aug 8, 2020
1 parent a7b9bba commit 7faa168
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 123 deletions.
4 changes: 2 additions & 2 deletions helpers/repository_metric_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func CalculateMetrics(repo *git.Repository, request MetricsRequest) (FourKeyMetr
tagMetricDto := TagMetricDto{
TagName: tagNameParse[len(tagNameParse)-1],
TagDate: tagMetricDateRange.tagDate,
MeanTimeRestoreAverage: GetSecondsToHour(tagMetricDateRange.tagMeanTimeRestoreAverageSeconds),
LeadTime: GetSecondsToHour(tagMetricDateRange.tagLeadTimeSeconds),
MeanTimeRestoreAverage: tagMetricDateRange.tagMeanTimeRestoreAverageSeconds,
LeadTime: tagMetricDateRange.tagLeadTimeSeconds,
ChangeFailPercentage: tagMetricDateRange.tagChangeFailPercentage,
}
tagMetricDtoList = append(tagMetricDtoList, tagMetricDto)
Expand Down
Loading

0 comments on commit 7faa168

Please sign in to comment.