Skip to content

Conversation

@coderbirju
Copy link
Contributor

Issue #, if available:
#384 did not pass the containers list to the response correctly, this PR fixes this issue and provides the correct response in the network inspect

Description of changes:

  • adds GetContainers func that is a wrapper to the containerd.Containers function, accepts filters and returns a list of containers matching the filter criteria
  • Calls getContainersFromNetConfig a new func that fetches the containers associated with the network name and appends that into the network inspect response.

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@coderbirju coderbirju requested a review from a team as a code owner January 2, 2026 21:50
@coderbirju coderbirju force-pushed the add-containers-to-network-inspect branch from aa6676c to 7c45e3d Compare January 2, 2026 22:32
@coderbirju coderbirju force-pushed the add-containers-to-network-inspect branch from 7c45e3d to 0a2599a Compare January 2, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant