Corrections mineurs
This commit is contained in:
4
main.go
4
main.go
@@ -599,7 +599,7 @@ func (m *AggregatedMetrics) generateTimeLabels(cleanedData []TimeSeriesMetric) s
|
||||
return "[" + strings.Join(labels, ",") + "]"
|
||||
}
|
||||
|
||||
// Fonction generateFloatArray corrigée
|
||||
// Fonction generateFloatArray
|
||||
func (m *AggregatedMetrics) generateFloatArray(cleanedData []TimeSeriesMetric, extractor func(TimeSeriesMetric) float64) string {
|
||||
values := make([]string, len(cleanedData))
|
||||
for i, metric := range cleanedData {
|
||||
@@ -612,7 +612,7 @@ func (m *AggregatedMetrics) generateFloatArray(cleanedData []TimeSeriesMetric, e
|
||||
return strings.Join(values, ",")
|
||||
}
|
||||
|
||||
// Fonction generateErrorList corrigée
|
||||
// Fonction generateErrorList
|
||||
func (m *AggregatedMetrics) generateErrorList() string {
|
||||
if len(m.ErrorsByType) == 0 {
|
||||
return "<div>Aucune erreur détectée</div>"
|
||||
|
||||
BIN
stress-test
BIN
stress-test
Binary file not shown.
Reference in New Issue
Block a user