Skip to content

Commit 96e4ebb

Browse files
afsafzalChrisTimperley
authored andcommitted
Fix ip_address bug (#144)
1 parent be687d2 commit 96e4ebb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bugzoo/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def ip_address(self,
128128
"""
129129
# TODO: refactor!
130130
api_client = docker.APIClient(base_url='unix://var/run/docker.sock')
131-
container_info = api_client.inspect_container(container.id)
131+
container_info = api_client.inspect_container(self.container.id)
132132
address = container_info['NetworkSettings']['IPAddress']
133133
try:
134134
return IPv4Address(address)

bugzoo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.4'
1+
__version__ = '1.1.5'

0 commit comments

Comments
 (0)