diff --git a/helpers/repository_metric_helper.go b/helpers/repository_metric_helper.go index e8f1942..7ecc7f2 100644 --- a/helpers/repository_metric_helper.go +++ b/helpers/repository_metric_helper.go @@ -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) diff --git a/template/template.go b/template/template.go index 5cdf8f0..17d97cf 100644 --- a/template/template.go +++ b/template/template.go @@ -10,541 +10,284 @@ func GetHtml() string {