Skip to content

Commit

Permalink
Replace deprecated setPort and setIpAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Apr 3, 2019
1 parent d5b1953 commit 449b794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/komoot/photon/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ private static void startReplicationUpdate(CommandLineArgs args) {
* @param esNodeClient
*/
private static void startApi(CommandLineArgs args, Client esNodeClient) {
setPort(args.getListenPort());
setIpAddress(args.getListenIp());
port(args.getListenPort());
ipAddress(args.getListenIp());

// setup search API
get("api", new SearchRequestHandler("api", esNodeClient, args.getLanguages()));
Expand Down

0 comments on commit 449b794

Please sign in to comment.