Skip to content

Commit 5a6ce73

Browse files
authored
docs(internal docs): Fix basic sink tutorial issues (vectordotdev#18136)
* docs(internal docs): Fix basic sink tutorial link Fix typo in the link in the word "sinks". * docs(internal docs): fix missing semicolon to emit Without it, the sink won't compile.
1 parent 7df6af7 commit 5a6ce73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/tutorials/sinks/1_basic_sink.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Add the following after emitting `BytesSent`:
284284
+ count: 1,
285285
+ byte_size: event_byte_size,
286286
+ output: None,
287-
+ })
287+
+ });
288288
```
289289

290290
More details about instrumenting Vector can be found

docs/tutorials/sinks/2_http_sink.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ BODY:
469469
{"log":{"host":"computer","message":"zork","source_type":"stdin","timestamp":"2023-01-23T10:21:57.215019942Z"}}
470470
```
471471

472-
[tutorial_1]: https://github.com/vectordotdev/vector/tree/master/docs/tutorials/sinsk/1_basic_sink.md
472+
[tutorial_1]: https://github.com/vectordotdev/vector/tree/master/docs/tutorials/sinks/1_basic_sink.md
473473
[tower]: https://docs.rs/tower/latest/tower/
474474
[tower_service]: https://docs.rs/tower/latest/tower/trait.Service.html
475475
[hyper_docs]: https://docs.rs/hyper/latest/hyper/

0 commit comments

Comments
 (0)