fix type filtering for k8s runtime
This commit is contained in:
parent
6bf4828296
commit
ce4acfa892
@ -335,7 +335,7 @@ func (k *kubernetes) Read(opts ...runtime.ReadOption) ([]*runtime.Service, error
|
||||
}
|
||||
|
||||
if len(options.Type) > 0 {
|
||||
labels["type"] = options.Type
|
||||
labels["micro"] = options.Type
|
||||
}
|
||||
|
||||
return k.getService(labels)
|
||||
|
Loading…
Reference in New Issue
Block a user