[v9.5.x] Licensing: Pass func to update env variables when starting plugin (#74681)

* 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-13 10:12:23 -03:00
committed by GitHub
parent cc10c645d6
commit 563bd4a653
6 changed files with 10 additions and 7 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)