Skip to content

Commit

Permalink
Update pkg/plugin/driver.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Simpson <[email protected]>
  • Loading branch information
shachakz and asimpson authored Feb 21, 2024
1 parent 724239d commit 915e1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugin/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func extractForwardedHeadersFromMessage(message json.RawMessage) (map[string]str
// "x-grafana-user": ["admin"]
// }
// }
if message == nil || len(message) == 0 {
if len(message) == 0 {
message = []byte("{}")
}

Expand Down

0 comments on commit 915e1ae

Please sign in to comment.