Skip to content

Commit

Permalink
fix(plugin): fixed registration of interface when no parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Sep 9, 2022
1 parent 2dbe32d commit e8dd022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .yatas.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ ignore:
pluginsConfiguration:
- pluginName: aws
accounts:
- name: "example"
profile: ""
sso: false
region: "eu-west-3"
- profile: ""
sso: true
region: "eu-west-3"
name: "yatas"


3 changes: 2 additions & 1 deletion plugins/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ import (
func RunPlugin(pluginInput commons.Plugin, c *commons.Config) []commons.Tests {
// Create an hclog.Logger
gob.Register(map[string]interface{}{})
gob.Register([]interface{}{})
logger := hclog.New(&hclog.LoggerOptions{
Name: "plugin",
Output: os.Stdout,
Level: hclog.Debug,
Level: hclog.Off,
})

// We're a host! Start by launching the plugin process.
Expand Down

0 comments on commit e8dd022

Please sign in to comment.