Skip to content

fix: show containers in network config view#773

Open
umut-polat wants to merge 1 commit intojesseduffield:masterfrom
umut-polat:fix/network-containers-display
Open

fix: show containers in network config view#773
umut-polat wants to merge 1 commit intojesseduffield:masterfrom
umut-polat:fix/network-containers-display

Conversation

@umut-polat
Copy link

When selecting a network, the config panel always shows Containers: none even when containers are attached to it.

The NetworkList API doesn't populate the Containers field — only NetworkInspect does. The config renderer was reading from the list response, which is always empty.

Added a Network.Inspect() method and call it when rendering the config panel to fetch the full network details including connected containers.

Fixes #752

NetworkList does not populate the Containers field in the response.
When viewing a network's config, the Containers section always showed
'none' regardless of how many containers were attached.

Use NetworkInspect to fetch full network details including connected
containers when rendering the config panel.

Fixes jesseduffield#752
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.

When selecting a network, "Containers" in config shows "none"

1 participant