From 01e317259bb737828d060ce63ff4a9c761f6a589 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 20 Oct 2021 14:26:30 -0400 Subject: [PATCH] refactor: use default sink variable This allows us to update the sink at the same time as updating the vector integration. --- plugins/logs/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/logs/functions.go b/plugins/logs/functions.go index 74f2b5146..50aa6a2ca 100644 --- a/plugins/logs/functions.go +++ b/plugins/logs/functions.go @@ -205,7 +205,7 @@ func writeVectorConfig() error { if len(data.Sinks) == 0 { // write logs to a blackhole - sink, err := sinkValueToConfig("--null", "blackhole://?print_amount=1") + sink, err := sinkValueToConfig("--null", VectorDefaultSink) if err != nil { return err }