mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 17:02:56 +00:00
Silence clippy warning
This commit is contained in:
committed by
Christian Schwarz
parent
50b686c3e4
commit
791eebefe2
@@ -726,15 +726,14 @@ impl Tenant {
|
||||
/// Create a placeholder Tenant object for a broken tenant
|
||||
pub fn create_broken_tenant(conf: &'static PageServerConf, tenant_id: TenantId) -> Arc<Tenant> {
|
||||
let wal_redo_manager = Arc::new(PostgresRedoManager::new(conf, tenant_id));
|
||||
let tenant = Arc::new(Tenant::new(
|
||||
Arc::new(Tenant::new(
|
||||
TenantState::Broken,
|
||||
conf,
|
||||
TenantConfOpt::default(),
|
||||
wal_redo_manager,
|
||||
tenant_id,
|
||||
None,
|
||||
));
|
||||
tenant
|
||||
))
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user