Merge pull request #4353 from dnABic/docs_developing-plugins

Bug in Documentation: wrong path to import code for plugins
This commit is contained in:
Matthew Hooker 2017-01-03 16:00:12 -08:00 committed by GitHub
commit 76138513c3
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ dependencies.
- `github.com/mitchellh/packer` - Contains all the interfaces that you have to
implement for any given plugin.
- `github.com/mitchellh/packer/plugin` - Contains the code to serve
- `github.com/mitchellh/packer/packer/plugin` - Contains the code to serve
the plugin. This handles all the inter-process communication stuff.
There are two steps involved in creating a plugin:
@ -71,7 +71,7 @@ implements the `packer.Builder` interface:
``` {.go}
import (
"github.com/mitchellh/packer/plugin"
"github.com/mitchellh/packer/packer/plugin"
)
// Assume this implements packer.Builder