Show containers IPv4Address in network

This commit is contained in:
Alexis ANNEIX 2024-02-01 16:43:52 +01:00
parent 80af149b02
commit 52e629b69a
No known key found for this signature in database
GPG key ID: 0B5144893F6F50AD

View file

@ -67,7 +67,7 @@ func (gui *Gui) networkConfigStr(network *commands.Network) string {
if len(network.Network.Containers) > 0 {
output += "\n"
for _, v := range network.Network.Containers {
output += utils.FormatMapItem(padding, v.Name, v.EndpointID)
output += utils.FormatMapItem(padding, v.Name, v.IPv4Address)
}
} else {
output += "none\n"