Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
Refactored parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
frankscholten committed Apr 29, 2016
1 parent a434ff8 commit 01ef2d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ public void onComplete() {
/**
* @return IP Address of the container's gateway (which would be docker0)
*/
public static String getGatewayIpAddress(String masterId) {
InspectContainerResponse response = DockerClientFactory.build().inspectContainerCmd(masterId).exec();
public static String getGatewayIpAddress(String containerId) {
InspectContainerResponse response = DockerClientFactory.build().inspectContainerCmd(containerId).exec();
return response.getNetworkSettings().getGateway();
}

Expand Down

0 comments on commit 01ef2d4

Please sign in to comment.