refactor: use default sink variable

This allows us to update the sink at the same time as updating the vector integration.
This commit is contained in:
Jose Diaz-Gonzalez committed 2021-10-24 15:14:37 -04:00
1 parent c74c542b1f
commit 01e317259b
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ func writeVectorConfig() error {
if len(data.Sinks) == 0 { if len(data.Sinks) == 0 {
// write logs to a blackhole // write logs to a blackhole
sink, err := sinkValueToConfig("--null", "blackhole://?print_amount=1") sink, err := sinkValueToConfig("--null", VectorDefaultSink)
if err != nil { if err != nil {
return err return err
} }