mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 09:00:37 +00:00
Add match arm for unused builtin resource managers
Although we don't currently handle these, they are much different from an unrecognized resource manager, which the comment in the last match arm refers to.
This commit is contained in:
@@ -504,7 +504,7 @@ impl Endpoint {
|
||||
/// Map safekeepers ids to the actual connection strings.
|
||||
fn build_safekeepers_connstrs(&self, sk_ids: Vec<NodeId>) -> Result<Vec<String>> {
|
||||
let mut safekeeper_connstrings = Vec::new();
|
||||
if self.mode == ComputeMode::Primary {
|
||||
if matches!(self.mode, ComputeMode::Primary | ComputeMode::Upgrade) {
|
||||
for sk_id in sk_ids {
|
||||
let sk = self
|
||||
.env
|
||||
|
||||
Reference in New Issue
Block a user