func (daemon *Daemon) GetNetworksByID(partialID string) []libnetwork.Network {
	c := daemon.netController
	list := []libnetwork.Network{}
	l := func(nw libnetwork.Network) bool {
		if strings.HasPrefix(nw.ID(), partialID) {
			list = append(list, nw)
		}
		return false
	}
	c.WalkNetworks(l)

	return list
}
// GetNetworksByID returns a list of networks whose ID partially matches zero or more networks
GetNetworksByID returns a list of networks whose ID partially matches zero or more networks
// GetNetworksByID returns a list of networks whose ID partially matches zero or more networks
func (daemon *Daemon) GetNetworksByID(partialID string) []libnetwork.Network {
	c := daemon.netController
	list := []libnetwork.Network{}
	l := func(nw libnetwork.Network) bool {
		if strings.HasPrefix(nw.ID(), partialID) {
			list = append(list, nw)
		}
		return false
	}
	c.WalkNetworks(l)
	return list
}
func ( daemon * Daemon ) GetNetworksByID ( partialID string ) [ ] libnetwork . Network { c := daemon . netController list := [ ] libnetwork . Network { } l := func ( nw libnetwork . Network ) bool { if strings . HasPrefix ( nw . ID ( ) , partialID ) { list = append ( list , nw ) } return false } c . WalkNetworks ( l ) return list }
GetNetworksByID returns a list of networks whose ID partially matches zero or more networks
GetNetworksByID returns a list of networks whose ID partially matches zero or more networks