Basebackup forward compatibility (#4572)

This commit is contained in:
bojanserafimov
2023-06-27 12:05:27 -04:00
committed by GitHub
parent 250a27fb85
commit ef2b9ffbcb

View File

@@ -904,7 +904,7 @@ where
self.check_permission(Some(tenant_id))?;
let lsn = if params.len() == 3 {
let lsn = if params.len() >= 3 {
Some(
Lsn::from_str(params[2])
.with_context(|| format!("Failed to parse Lsn from {}", params[2]))?,