Make clippy happy

This commit is contained in:
Konstantin Knizhnik
2023-06-02 18:17:51 +03:00
parent fc27d871ed
commit 36eb1c83f3

View File

@@ -66,9 +66,9 @@ impl LazyTenantsMap {
.map
.get(tenant_id)
.ok_or(GetTenantError::NotFound(*tenant_id))?;
Ok(tenant
tenant
.get_or_try_init(|| self.try_load_tenant(tenant_id))
.await?)
.await
}
}