Sort field names when running --test

This commit is contained in:
Daniel Nelson 2018-04-03 16:56:44 -07:00
parent f692f656fd
commit 15dbcd4d97
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ func (r *RunningInput) MakeMetric(
if r.trace && m != nil {
s := influx.NewSerializer()
s.SetFieldSortOrder(influx.SortFields)
octets, err := s.Serialize(m)
if err == nil {
fmt.Print("> " + string(octets))