summaryrefslogtreecommitdiff
path: root/libpod/info.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/info.go')
-rw-r--r--libpod/info.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/libpod/info.go b/libpod/info.go
index 122a6b587..fb28c97dd 100644
--- a/libpod/info.go
+++ b/libpod/info.go
@@ -18,7 +18,6 @@ import (
"github.com/containers/image/v5/pkg/sysregistriesv2"
"github.com/containers/podman/v3/libpod/define"
"github.com/containers/podman/v3/libpod/linkmode"
- "github.com/containers/podman/v3/libpod/network/types"
"github.com/containers/podman/v3/pkg/cgroups"
"github.com/containers/podman/v3/pkg/rootless"
"github.com/containers/storage"
@@ -73,8 +72,7 @@ func (r *Runtime) info() (*define.Info, error) {
volumePlugins = append(volumePlugins, plugin)
}
info.Plugins.Volume = volumePlugins
- // TODO move this into the new network interface
- info.Plugins.Network = []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver}
+ info.Plugins.Network = r.network.Drivers()
info.Plugins.Log = logDrivers
info.Registries = registries