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

* 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:07:10 -03:00
committed by GitHub
parent c79ccb1c9e
commit 532f010c95
7 changed files with 12 additions and 8 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)