Skip to content

Commit

Permalink
beater: do not use Number
Browse files Browse the repository at this point in the history
Change-Id: Id6b671d86c3c663c96f9be3838e43c48b9d96cf0
  • Loading branch information
7AC committed Mar 13, 2018
1 parent 32d71e3 commit cf8fd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beater/openconfigbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func formatValue(update *pb.Update) (interface{}, error) {
switch update.Value.Type {
case pb.Encoding_JSON, pb.Encoding_JSON_IETF:
decoder := json.NewDecoder(bytes.NewReader(update.Value.Value))
decoder.UseNumber()
//decoder.UseNumber()
var output interface{}
err := decoder.Decode(&output)
return output, err
Expand Down

0 comments on commit cf8fd18

Please sign in to comment.