mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
switch to different types for different parts of the label query
This commit is contained in:
@@ -29,7 +29,7 @@ type Labels interface {
|
||||
// A map of label:value. Implements Labels.
|
||||
type Set map[string]string
|
||||
|
||||
// All labels listed as a human readable string. Conveiently, exactly the format
|
||||
// All labels listed as a human readable string. Conveniently, exactly the format
|
||||
// that ParseQuery takes.
|
||||
func (ls Set) String() string {
|
||||
query := make([]string, 0, len(ls))
|
||||
|
Reference in New Issue
Block a user