plugin: bump protocol version

We changed the type of InstanceState.Meta and this will break
pre-existing plugins. They simply have to recompile to work.
This commit is contained in:
Mitchell Hashimoto 2017-03-01 14:42:33 -08:00
parent e7a88ce089
commit 700c74bdd0
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ var Handshake = plugin.HandshakeConfig{
// one or the other that makes it so that they can't safely communicate. // one or the other that makes it so that they can't safely communicate.
// This could be adding a new interface value, it could be how // This could be adding a new interface value, it could be how
// helper/schema computes diffs, etc. // helper/schema computes diffs, etc.
ProtocolVersion: 3, ProtocolVersion: 4,
// The magic cookie values should NEVER be changed. // The magic cookie values should NEVER be changed.
MagicCookieKey: "TF_PLUGIN_MAGIC_COOKIE", MagicCookieKey: "TF_PLUGIN_MAGIC_COOKIE",