packer/rpc: Register []interface{} so arrays can be sent over wire

This commit is contained in:
Mitchell Hashimoto 2013-06-05 15:16:41 -07:00
parent 8055e396a0
commit 334fd4e154
1 changed files with 1 additions and 0 deletions

View File

@ -4,5 +4,6 @@ import "encoding/gob"
func init() {
gob.Register(new(map[string]interface{}))
gob.Register(make([]interface{}, 0))
gob.Register(new(BasicError))
}