Browse Source

connect: remove old unused code

pull/4275/head
Mitchell Hashimoto 7 years ago committed by Jack Pearkes
parent
commit
8d66d1045a
  1. 4
      connect/resolver.go

4
connect/resolver.go

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

Loading…
Cancel
Save