chore(proxy): fully remove allow-self-signed-compute flag (#10168)

When https://github.com/neondatabase/cloud/pull/21856 is merged, this
flag is no longer necessary.
This commit is contained in:
Conrad Ludgate
2024-12-18 16:03:14 +00:00
committed by GitHub
parent 1668d39b7c
commit d63602cc78
10 changed files with 25 additions and 115 deletions

View File

@@ -73,12 +73,9 @@ impl NodeInfo {
pub(crate) async fn connect(
&self,
ctx: &RequestContext,
allow_self_signed_compute: bool,
timeout: Duration,
) -> Result<compute::PostgresConnection, compute::ConnectionError> {
self.config
.connect(ctx, allow_self_signed_compute, self.aux.clone(), timeout)
.await
self.config.connect(ctx, self.aux.clone(), timeout).await
}
pub(crate) fn reuse_settings(&mut self, other: Self) {