pkg/kt/command/exchange/selector.go
Function BySelector
has 9 return statements (exceeds 4 allowed). Open
Open
func BySelector(resourceName string) error {
// Get service to exchange
svc, err := general.GetServiceByResourceName(resourceName, opt.Get().Global.Namespace)
if err != nil {
return err