fix type filtering for k8s runtime

This commit is contained in:
Asim Aslam 2019-11-29 13:05:18 +00:00
parent 6bf4828296
commit ce4acfa892

View File

@ -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)