mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	add mdns registry debug (#1434)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
		| @@ -156,6 +156,9 @@ func (m *mdnsRegistry) Register(service *Service, opts ...RegisterOption) error | ||||
| 		} | ||||
| 		port, _ := strconv.Atoi(pt) | ||||
|  | ||||
| 		if logger.V(logger.DebugLevel, logger.DefaultLogger) { | ||||
| 			logger.Debugf("[mdns] registry create new service with ip: %s for: %s", net.ParseIP(host).String(), host) | ||||
| 		} | ||||
| 		// we got here, new node | ||||
| 		s, err := mdns.NewMDNSService( | ||||
| 			node.Id, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user