Skip to content

Commit

Permalink
🐛 Removed size allocation for the loki map
Browse files Browse the repository at this point in the history
Signed-off-by: afreyermuth98 <[email protected]>
  • Loading branch information
afreyermuth98 committed Jan 7, 2025
1 parent cceb639 commit 6fb2e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type lokiValue = []string
const LokiContentType = "application/json"

func newLokiPayload(falcopayload types.FalcoPayload, config *types.Configuration) lokiPayload {
s := make(map[string]string, 3+len(falcopayload.OutputFields)+len(config.Loki.ExtraLabelsList)+len(falcopayload.Tags))
s := make(map[string]string)
s["rule"] = falcopayload.Rule
s["source"] = falcopayload.Source
s["priority"] = falcopayload.Priority.String()
Expand Down

0 comments on commit 6fb2e34

Please sign in to comment.