We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aebe2ef + d368f71 commit e7848afCopy full SHA for e7848af
utils/orchestrator/ecsutil.py
@@ -38,8 +38,8 @@ def _get_ecs_address(self):
38
port = ECS_INTROSPECT_DEFAULT_PORT
39
if self._is_ecs_agent_local():
40
ip = "localhost"
41
- elif Platform.is_containerized() and self.docker_gateway:
42
- ip = self.docker_gateway
+ elif Platform.is_containerized():
+ ip = self.docker_util.get_gateway()
43
else:
44
raise Exception("Unable to determine ecs-agent IP address")
45
0 commit comments