Skip to content

Commit

Permalink
feat(plugin): upgraded to new yatas interface
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Sep 26, 2022
1 parent 6f81d34 commit f3ba141
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/hashicorp/go-hclog v1.3.1
github.com/hashicorp/go-plugin v1.4.5
github.com/stangirard/yatas v0.11.9
github.com/stangirard/yatas v0.11.10
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stangirard/yatas v0.11.9 h1:Pvh4x2Vt0TMfsxSKkrjpqLoZmwObEaOW9zh/GjbdU3c=
github.com/stangirard/yatas v0.11.9/go.mod h1:hE7NX8L76pv6BfOXwMKf95gVvCx0wu2MLJW9s4NJ0qM=
github.com/stangirard/yatas v0.11.10 h1:kug78Eq01547xmtAiGmCFB2NN4Uky/tT+QedeHfk9Bc=
github.com/stangirard/yatas v0.11.10/go.mod h1:hE7NX8L76pv6BfOXwMKf95gVvCx0wu2MLJW9s4NJ0qM=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s=
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (g *YatasPlugin) Run(c *commons.Config) []commons.Tests {
// This prevents users from executing bad plugins or executing a plugin
// directory. It is a UX feature, not a security feature.
var handshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 2,
ProtocolVersion: 3,
MagicCookieKey: "BASIC_PLUGIN",
MagicCookieValue: "hello",
}
Expand Down

0 comments on commit f3ba141

Please sign in to comment.