Skip to content

Commit

Permalink
Inverse the version in the custom-hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikel Cortes authored and Mikel Cortes committed May 15, 2021
1 parent 5a8fc92 commit bd31415
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/metrics/dataframe.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ func (df MetricsDataFrame) AnalyzeClientType(clientname string) custom.Client{
v = append(v, val)
}
sort.Strings(v)
for i, j := 0, len(v)-1; i < j; i, j = i+1, j-1 {
v[i], v[j] = v[j], v[i]
}
for _, item := range v {
client.AddVersion(item, versions[item])
}
Expand Down

0 comments on commit bd31415

Please sign in to comment.