mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	@@ -1,7 +1,6 @@
 | 
				
			|||||||
package xds
 | 
					package xds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
	"math/rand"
 | 
						"math/rand"
 | 
				
			||||||
	"net"
 | 
						"net"
 | 
				
			||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
@@ -28,7 +27,6 @@ func (a assignment) SetClusterLoadAssignment(cluster string, cla *xdspb.ClusterL
 | 
				
			|||||||
	if cla == nil {
 | 
						if cla == nil {
 | 
				
			||||||
		return
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	fmt.Printf("%+v\n", cla)
 | 
					 | 
				
			||||||
	log.Debugf("Updating cluster %q", cluster)
 | 
						log.Debugf("Updating cluster %q", cluster)
 | 
				
			||||||
	a.cla[cluster] = cla
 | 
						a.cla[cluster] = cla
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user