Skip to content

Commit

Permalink
Merge pull request #13 from diegopacheco/dev
Browse files Browse the repository at this point in the history
Remove hardcoded port(8102) and get by parameter.
  • Loading branch information
diegopacheco committed Oct 28, 2017
2 parents 25c9821 + 0934212 commit baa1b3a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ public String toJsonTopology(){
}

public Host toHOST(){
//return new Host(this.getServer(),this.getServer(),new Integer(this.getPort()),this.getRack(),this.getDc(),Status.Up);
return new Host(this.getServer(),8102,this.getRack(),Status.Up);
return new Host(this.getServer(),this.getPort(),this.getRack(),Status.Up);
}

public String toSeed(){
Expand Down

0 comments on commit baa1b3a

Please sign in to comment.