fix(worker): add GCP plugin support on the worker (#5484)
Enable worker to run GCP plugin
This commit is contained in:
1 parent
6065350d35
commit
c5cc20c649
1 file changed
+1
@@ -299,6 +299,7 @@ func New(ctx context.Context, conf *Config) (*Worker, error) {
|
||||
for _, enabledPlugin := range w.conf.Server.EnabledPlugins {
|
||||
switch {
|
||||
case enabledPlugin == base.EnabledPluginHostAzure && !w.conf.SkipPlugins,
|
||||
enabledPlugin == base.EnabledPluginGCP && !w.conf.SkipPlugins,
|
||||
enabledPlugin == base.EnabledPluginAws && !w.conf.SkipPlugins:
|
||||
pluginType := strings.ToLower(enabledPlugin.String())
|
||||
client, cleanup, err := external_plugins.CreateHostPlugin(
|
||||
|
||||
Reference in new issue
Block a user