Prevents reuse of external port numbers
This commit is contained in:
parent
b82c74865e
commit
4192952a37
|
@ -6,7 +6,7 @@ namespace KubernetesWorkflow.Recipe
|
||||||
public class RecipeComponentFactory
|
public class RecipeComponentFactory
|
||||||
{
|
{
|
||||||
private NumberSource internalNumberSource = new NumberSource(8080);
|
private NumberSource internalNumberSource = new NumberSource(8080);
|
||||||
private NumberSource externalNumberSource = new NumberSource(30000);
|
private static NumberSource externalNumberSource = new NumberSource(30000);
|
||||||
|
|
||||||
public Port CreatePort(int number, string tag, PortProtocol protocol)
|
public Port CreatePort(int number, string tag, PortProtocol protocol)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue