mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-12 22:07:47 +02:00
Remove hardcoded labels:
This commit is contained in:
@ -189,10 +189,6 @@ func (c *client) List(r *Resource, opts ...ListOption) error {
|
|||||||
o(&options)
|
o(&options)
|
||||||
}
|
}
|
||||||
|
|
||||||
labels := map[string]string{
|
|
||||||
"micro": "service",
|
|
||||||
}
|
|
||||||
|
|
||||||
return c.Get(r, GetLabels(labels), GetNamespace(options.Namespace))
|
return c.Get(r, GetLabels(labels), GetNamespace(options.Namespace))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user