mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge branch 'master' into fix/golint
Conflicts: pkg/master/master.go pkg/master/pod_cache.go pkg/proxy/config/file.go pkg/proxy/proxier.go pkg/proxy/roundrobbin.go pkg/scheduler/randomfit.go pkg/scheduler/randomfit_test.go
This commit is contained in:
@@ -89,7 +89,7 @@ func try(selectorPiece, op string) (lhs, rhs string, ok bool) {
|
||||
|
||||
// SelectorFromSet returns a Selector which will match exactly the given Set.
|
||||
func SelectorFromSet(ls Set) Selector {
|
||||
var items []Selector
|
||||
items := make([]Selector, 0, len(ls))
|
||||
for label, value := range ls {
|
||||
items = append(items, &hasTerm{label: label, value: value})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user