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:
1 parent
c74c542b1f
commit
01e317259b
1 file changed
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user