[v10.1.x] Licensing: Pass func to update env variables when starting plugin (#74678)

Licensing: Pass func to update env variables when starting plugin (#74620)

(cherry picked from commit 5e0b20266e)
This commit is contained in:
lean.dev
2023-09-12 10:06:14 -03:00
committed by GitHub
parent e41a47260c
commit c8bcc96d90
7 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ import (
)
// PluginFactoryFunc is a function type for creating a Plugin.
type PluginFactoryFunc func(pluginID string, logger log.Logger, env []string) (Plugin, error)
type PluginFactoryFunc func(pluginID string, logger log.Logger, env func() []string) (Plugin, error)