Fix backward compatibility with old task shims

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2021-10-05 14:51:12 -07:00
parent 33786ee4d2
commit a3d298193c
7 changed files with 43 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ func initFunc(ic *plugin.InitContext) (interface{}, error) {
return nil, err
}
v2r, err := ic.GetByID(plugin.RuntimePluginV2Service, "task")
v2r, err := ic.GetByID(plugin.RuntimePluginV2, "task")
if err != nil {
return nil, err
}