mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 10:22:56 +00:00
@@ -4815,6 +4815,12 @@ impl Service {
|
||||
}
|
||||
}
|
||||
|
||||
if targets.is_empty() {
|
||||
return Err(ApiError::NotFound(
|
||||
anyhow::anyhow!("Tenant {tenant_id} not found").into(),
|
||||
));
|
||||
}
|
||||
|
||||
Ok(TenantShardAttachState {
|
||||
targets,
|
||||
by_node_id,
|
||||
|
||||
Reference in New Issue
Block a user