Make clippy happy

This commit is contained in:
Konstantin Knizhnik
2025-02-28 18:29:37 +02:00
parent 5fb0bcdd6a
commit 955175c791

View File

@@ -73,6 +73,7 @@ impl From<GetVectoredError> for BasebackupError {
/// * When working without safekeepers. In this situation it is important to match the lsn
/// we are taking basebackup on with the lsn that is used in pageserver's walreceiver
/// to start the replication.
#[allow(clippy::too_many_arguments)]
pub async fn send_basebackup_tarball<'a, W>(
write: &'a mut W,
timeline: &'a Timeline,
@@ -283,7 +284,6 @@ impl<W> Basebackup<'_, W>
where
W: AsyncWrite + Send + Sync + Unpin,
{
#[allow(clippy::too_many_arguments)]
async fn send_tarball(mut self) -> Result<(), BasebackupError> {
// TODO include checksum