Skip to content

Commit

Permalink
Merge pull request #1556 from atline/fix_docker
Browse files Browse the repository at this point in the history
docker: fix nw_service not available error
  • Loading branch information
Emantor authored Jan 6, 2025
2 parents d98677c + 95a8a91 commit e821d5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions labgrid/resource/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def on_client_bound(self, client):
nw_service = target_factory.make_resource(
self.target, "NetworkService",
service_name, network_service)
nw_service.parent = self
if client.container_name not in self._nw_services:
self._nw_services[client.container_name] = list()
self._nw_services[client.container_name].append(nw_service)
Expand Down

0 comments on commit e821d5a

Please sign in to comment.