fix(worker): add GCP plugin support on the worker (#5484)

Enable worker to run GCP plugin
This commit is contained in:
Elim Tsiagbey authored and GitHub committed 2025-01-28 09:35:14 -05:00
1 parent 6065350d35
commit c5cc20c649
1 file changed
+1
+1
View File
@@ -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(