From 26e77a693a632a7ee8cd3f8a76828fa557030743 Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Mon, 9 Nov 2020 08:42:59 +0000 Subject: [PATCH] Update plugin-creation.md Add info on using plugin triggers instead of sourcing plugin functions --- docs/development/plugin-creation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/plugin-creation.md b/docs/development/plugin-creation.md index 2fbf7b77b..3b703de1d 100644 --- a/docs/development/plugin-creation.md +++ b/docs/development/plugin-creation.md @@ -210,7 +210,7 @@ Files are copied from the `/app` directory - for images built via buildpacks - o Plugins should **not** call the `dokku` binary directly from within plugins because clients using the `--app` argument are potentially broken when doing so. -Plugins should instead source the `functions` file for a given plugin when attempting to call Dokku internal functions. +Plugins should instead source the `functions` file for a given plugin when attempting to call Dokku internal functions. In cases where plugin functions cannot be sourced (eg if a plugin is implemented in Golang), then call the relevant [plugin triggers](/docs/development/plugin-triggers.md) instead. # Sample plugin