Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arpad-m committed Sep 24, 2024
1 parent 56b3760 commit adab332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pageserver/src/tenant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ impl Tenant {
return Err(CreateTimelineError::AncestorNotActive);
}

if !ancestor_timeline.is_archived() {
if ancestor_timeline.is_archived() == Some(true) {
info!("tried to branch archived timeline");
return Err(CreateTimelineError::AncestorArchived);
}
Expand Down

0 comments on commit adab332

Please sign in to comment.