Skip to content

Commit

Permalink
Remove extra spaces I added
Browse files Browse the repository at this point in the history
  • Loading branch information
mshamota-nr committed Oct 22, 2020
1 parent 4fa41ad commit faf3b73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions record/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ func RemapRecord(inputRecord FluentBitRecord, inputTimestamp interface{}, plugin
outputRecord["message"] = val
delete(outputRecord, "log")
}

source, ok := os.LookupEnv("SOURCE")
if !ok {
source = "BARE-METAL"
}

_, ok = outputRecord["plugin"]
if !ok {
outputRecord["plugin"] = map[string]string{
Expand All @@ -52,7 +50,6 @@ func RemapRecord(inputRecord FluentBitRecord, inputTimestamp interface{}, plugin
"source": source,
}
}

return
}

Expand Down

0 comments on commit faf3b73

Please sign in to comment.