This commit is contained in:
		| @@ -163,7 +163,7 @@ func (cw *consulWatcher) serviceHandler(idx uint64, data interface{}) { | ||||
|  | ||||
| 			// it's an update rather than creation | ||||
| 			if len(nodes) > 0 { | ||||
| 				delService := oldService | ||||
| 				delService := registry.CopyService(oldService) | ||||
| 				delService.Nodes = nodes | ||||
| 				cw.next <- ®istry.Result{Action: "delete", Service: delService} | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user