connect: remove old unused code

This commit is contained in:
Mitchell Hashimoto 2018-06-06 11:45:27 -07:00 committed by Jack Pearkes
parent 6ea59241d1
commit 8d66d1045a
1 changed files with 0 additions and 4 deletions

View File

@ -95,10 +95,6 @@ func (cr *ConsulResolver) Resolve(ctx context.Context) (string, connect.CertURI,
return cr.resolveService(ctx)
case ConsulResolverTypePreparedQuery:
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:
return "", nil, fmt.Errorf("unknown resolver type")
}