Skip to content

Commit

Permalink
fix(experiment.go): serialize assets version in 32bit compatible way (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed May 29, 2020
1 parent f3594e5 commit e768161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"net/http"
"os"
"reflect"
"strconv"
"time"

"github.com/iancoleman/strcase"
Expand Down Expand Up @@ -372,7 +373,7 @@ func (e *Experiment) newMeasurement(input string) *model.Measurement {
TestStartTime: e.testStartTime,
TestVersion: e.testVersion,
}
m.AddAnnotation("assets_version", fmt.Sprintf("%d", resources.Version))
m.AddAnnotation("assets_version", strconv.FormatInt(resources.Version, 10))
m.AddAnnotation("engine_name", "miniooni")
m.AddAnnotation("engine_version", version.Version)
m.AddAnnotation("platform", platform.Name())
Expand Down

0 comments on commit e768161

Please sign in to comment.