Commit a0fa5b9f authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

configurable plugin min/pax port

parent e904705a
...@@ -106,5 +106,7 @@ func (c *config) pluginClient(path string) *plugin.Client { ...@@ -106,5 +106,7 @@ func (c *config) pluginClient(path string) *plugin.Client {
var config plugin.ClientConfig var config plugin.ClientConfig
config.Cmd = exec.Command(path) config.Cmd = exec.Command(path)
config.Managed = true config.Managed = true
config.MinPort = c.PluginMinPort
config.MaxPort = c.PluginMaxPort
return plugin.NewClient(&config) return plugin.NewClient(&config)
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment