Cleanup shim manager configuration

Keep platforms configuration on task manager and add environment config
for shims.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2024-05-17 17:31:57 -07:00
parent 28b77e33ad
commit ca59fb0b41
6 changed files with 59 additions and 37 deletions

View File

@@ -49,7 +49,7 @@ func init() {
plugins.EventPlugin,
},
InitFn: func(ic *plugin.InitContext) (interface{}, error) {
shimPlugin, err := ic.GetByID(plugins.ShimPlugin, "shim")
shimPlugin, err := ic.GetSingle(plugins.ShimPlugin)
if err != nil {
return nil, err
}