From 0eb65029a4b287c2ae4b231d184c7f80e1440658 Mon Sep 17 00:00:00 2001 From: Sebastian <3441183+BattleBas@users.noreply.github.com> Date: Tue, 15 Sep 2020 13:22:11 -0500 Subject: [PATCH] Doc update: Fix main.go shim example link (#8123) --- docs/EXTERNAL_PLUGINS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/EXTERNAL_PLUGINS.md b/docs/EXTERNAL_PLUGINS.md index f810e6218..aa3b5058a 100644 --- a/docs/EXTERNAL_PLUGINS.md +++ b/docs/EXTERNAL_PLUGINS.md @@ -39,7 +39,7 @@ This is a guide to help you set up your plugin to use it with `execd` in the new repo. For a further example of what this might look like, take a look at [ssoroka/rand](https://github.com/ssoroka/rand) or [danielnelson/telegraf-execd-openvpn](https://github.com/danielnelson//telegraf-execd-openvpn) - 1. Copy [main.go](./example/cmd/main.go) into your project under the `cmd` folder. + 1. Copy [main.go](/plugins/common/shim/example/cmd/main.go) into your project under the `cmd` folder. This will be the entrypoint to the plugin when run as a stand-alone program, and it will call the shim code for you to make that happen. It's recommended to have only one plugin per repo, as the shim is not designed to run multiple