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:
Tristan Partin
2024-04-03 16:15:41 -05:00
parent 5e71d8fddc
commit bbd646325c
11 changed files with 119 additions and 111 deletions

View File

@@ -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