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
2021-10-20 14:26:30 -04:00
parent c74c542b1f
commit 01e317259b

View File

@@ -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
}