one machine was being wasted due to bad ip reporting

This commit is contained in:
David Ribeiro Alves 2012-03-15 07:58:04 +00:00
parent d987e847ca
commit e4259b5cc8
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class NodeCreator implements Function<NodeSpec, NodeAndInitialCredentials
RunScriptOnNode.Factory scriptRunnerFactory, Supplier<NodeMetadata> hostSupplier) {
this.manager = manager;
this.cloner = cloner;
this.nodePorts = new AtomicInteger(NODE_PORT_INIT);
this.nodePorts = new AtomicInteger(NODE_PORT_INIT + 1);
this.nodeIps = new AtomicInteger(1);
this.machineUtils = machineUtils;
this.imachineToNodeMetadata = imachineToNodeMetadata;