From a0fa5b9f9942db2753eda28d2ee59a823595a3a2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 11 Jun 2013 11:08:21 -0700 Subject: [PATCH] configurable plugin min/pax port --- config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.go b/config.go index 99df10529..4e0ef4c41 100644 --- a/config.go +++ b/config.go @@ -106,5 +106,7 @@ func (c *config) pluginClient(path string) *plugin.Client { var config plugin.ClientConfig config.Cmd = exec.Command(path) config.Managed = true + config.MinPort = c.PluginMinPort + config.MaxPort = c.PluginMaxPort return plugin.NewClient(&config) }