fix(compute_ctl): remove stray variable in error message (#4823)

error is not needed because anyhow will have the cause chain reported
anyways.

related to test_neon_cli_basics being flaky, but doesn't actually fix
any flakyness, just the obvious stray `{e}`.
This commit is contained in:
Joonas Koivunen
2023-07-27 15:40:53 +03:00
committed by GitHub
parent 395bd9174e
commit 3e425c40c0

View File

@@ -564,9 +564,7 @@ impl Endpoint {
}
Err(e) => {
if attempt == MAX_ATTEMPTS {
return Err(e).context(
"timed out waiting to connect to compute_ctl HTTP; last error: {e}",
);
return Err(e).context("timed out waiting to connect to compute_ctl HTTP");
}
}
}