Skip to content

Commit

Permalink
Doc update: Fix main.go shim example link (influxdata#8123)
Browse files Browse the repository at this point in the history
  • Loading branch information
sspaink authored Sep 15, 2020
1 parent d764f86 commit 0eb6502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/EXTERNAL_PLUGINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0eb6502

Please sign in to comment.