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