mirror of https://github.com/status-im/consul.git
connect: remove old unused code
This commit is contained in:
parent
6ea59241d1
commit
8d66d1045a
|
@ -95,10 +95,6 @@ func (cr *ConsulResolver) Resolve(ctx context.Context) (string, connect.CertURI,
|
||||||
return cr.resolveService(ctx)
|
return cr.resolveService(ctx)
|
||||||
case ConsulResolverTypePreparedQuery:
|
case ConsulResolverTypePreparedQuery:
|
||||||
return cr.resolveQuery(ctx)
|
return cr.resolveQuery(ctx)
|
||||||
// TODO(banks): we need to figure out what API changes are needed for
|
|
||||||
// prepared queries to become connect-aware. How do we signal that we want
|
|
||||||
// connect-enabled endpoints vs the direct ones for the responses?
|
|
||||||
return "", nil, fmt.Errorf("not implemented")
|
|
||||||
default:
|
default:
|
||||||
return "", nil, fmt.Errorf("unknown resolver type")
|
return "", nil, fmt.Errorf("unknown resolver type")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue