Fix #107 RPC client in the plugin uses incompatible version of a message codec, so Packer core cannot read them

This commit is contained in:
Michael Kuzmin 2018-05-22 21:58:23 +03:00
parent dae64707a5
commit 33f640d738
2 changed files with 7 additions and 3 deletions

5
Gopkg.lock generated
View File

@ -185,8 +185,7 @@
[[projects]] [[projects]]
name = "github.com/ugorji/go" name = "github.com/ugorji/go"
packages = ["codec"] packages = ["codec"]
revision = "b4c50a2b199d93b13dc15e78929cfb23bfdf21ab" revision = "646ae4a518c1c3be0739df898118d9bccf993858"
version = "v1.1.1"
[[projects]] [[projects]]
name = "github.com/vmware/govmomi" name = "github.com/vmware/govmomi"
@ -271,6 +270,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "4e43d31e08e37dfb7449ddb1cc361b739f2b65e95d3e560d4e31d40fbabab044" inputs-digest = "9f89755514c7933bbbdc65648a5a6058d1387bc47aa717bae8772c9f7037a542"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -15,6 +15,11 @@
name = "github.com/ChrisTrenkamp/goxpath" name = "github.com/ChrisTrenkamp/goxpath"
branch = "master" branch = "master"
# Plugin's RPC client uses the same version of a codec as a server in Packer core
[[override]]
name = "github.com/ugorji/go"
revision = "646ae4a518c1c3be0739df898118d9bccf993858"
[prune] [prune]
go-tests = true go-tests = true
unused-packages = true unused-packages = true