Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #131 from spotify/rculbertson/temp-jobs-fix
Browse files Browse the repository at this point in the history
Fix dumb bug preventing TempJobs from getting IP address.
  • Loading branch information
rculbertson committed Aug 14, 2014
2 parents fe1b042 + 8c7edeb commit 88bde34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public Boolean call() throws Exception {
* @return The host's ip address if one exists, otherwise the hostname which was passed in.
*/
private String endpointFromHost(String host) {
final String ip = hostToIp.get("host");
final String ip = hostToIp.get(host);
return ip == null ? host : ip;
}

Expand Down

0 comments on commit 88bde34

Please sign in to comment.