mirror of https://github.com/apache/jclouds.git
Formatting
This commit is contained in:
parent
9deaa23502
commit
e6200d6374
|
@ -55,9 +55,7 @@ public class ScanNetworkWithPing implements Statement {
|
||||||
public String render(OsFamily family) {
|
public String render(OsFamily family) {
|
||||||
network = network.substring(0, network.lastIndexOf("."));
|
network = network.substring(0, network.lastIndexOf("."));
|
||||||
StringBuilder arp = new StringBuilder();
|
StringBuilder arp = new StringBuilder();
|
||||||
arp.append(Utils.replaceTokens(OS_TO_PING.get(family), ImmutableMap.of(
|
arp.append(Utils.replaceTokens(OS_TO_PING.get(family), ImmutableMap.of("network", network)));
|
||||||
"network", network)));
|
|
||||||
|
|
||||||
return arp.toString();
|
return arp.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue