Display internal flag on network inspect
Also adds internal network tests for bridge network Signed-off-by: Chun Chen <ramichen@tencent.com> Upstream-commit: c199506b59f60ac456cb0448ddd86e6dec92bc0a Component: engine
This commit is contained in:
@ -164,6 +164,7 @@ func buildNetworkResource(nw libnetwork.Network) *types.NetworkResource {
|
||||
r.Options = nw.Info().DriverOptions()
|
||||
r.Containers = make(map[string]types.EndpointResource)
|
||||
buildIpamResources(r, nw)
|
||||
r.Internal = nw.Info().Internal()
|
||||
|
||||
epl := nw.Endpoints()
|
||||
for _, e := range epl {
|
||||
|
||||
Reference in New Issue
Block a user