Skip to content

Commit

Permalink
🎨 Go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: afreyermuth98 <[email protected]>
  • Loading branch information
afreyermuth98 committed Jan 6, 2025
1 parent 0b7dc26 commit cceb639
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions outputs/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ func newLokiPayload(falcopayload types.FalcoPayload, config *types.Configuration
s["priority"] = falcopayload.Priority.String()

if k8sNs, ok := falcopayload.OutputFields["k8s.ns.name"].(string); ok {
s["k8s_ns_name"] = k8sNs
}
if k8sPod, ok := falcopayload.OutputFields["k8s.pod.name"].(string); ok {
s["k8s_pod_name"] = k8sPod
}
s["k8s_ns_name"] = k8sNs
}
if k8sPod, ok := falcopayload.OutputFields["k8s.pod.name"].(string); ok {
s["k8s_pod_name"] = k8sPod
}

for i, j := range falcopayload.OutputFields {
switch v := j.(type) {
Expand Down

0 comments on commit cceb639

Please sign in to comment.