Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed May 28, 2024
1 parent dae2374 commit 7829120
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public Builder networkInterface(final String networkInterface) {

public Builder networkInterfaces(final List<String> networkInterfaces) {
checkNotNull(networkInterfaces);
validateAddresses(networkInterfaces, "--p2p-interfaces");
validateAddresses(networkInterfaces, "--p2p-interface");
this.networkInterfaces = networkInterfaces;
return this;
}
Expand All @@ -295,7 +295,7 @@ public Builder advertisedIps(final Optional<List<String>> advertisedIps) {
String.format("Advertised ip (%s) is set incorrectly", ip));
}
});
validateAddresses(ips, "--p2p-advertised-ips");
validateAddresses(ips, "--p2p-advertised-ip");
});
this.advertisedIps = advertisedIps;
return this;
Expand Down

0 comments on commit 7829120

Please sign in to comment.