Skip to content

Commit f3e7ed9

Browse files
committed
2 parents 51a9b05 + 12bc487 commit f3e7ed9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

splunk/writer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package splunk
22

33
import (
4+
"encoding/json"
45
"sync"
56
"time"
67
)
@@ -35,7 +36,7 @@ type Writer struct {
3536
// Helpful if we have long flush intervals to more precisely record the time at which
3637
// a message was written
3738
type message struct {
38-
data []byte
39+
data json.RawMessage
3940
writtenAt time.Time
4041
}
4142

0 commit comments

Comments
 (0)