wrong path to import code for plugins

This commit is contained in:
dnABic (Andreja Babic) 2017-01-04 00:05:29 +01:00
parent 7e92b07735
commit 9403dfc272
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