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

This commit is contained in:
lean.dev
2023-09-11 09:33:10 -03:00
committed by GitHub
parent e855efb13d
commit 5e0b20266e
7 changed files with 13 additions and 10 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)