From f80c37b733163430a2ebbcf2ce94d8af7507ba4e Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 25 Jul 2024 09:23:12 +0000 Subject: [PATCH] chore: forgotten to update panic text with detach_and_reparent renaming --- pageserver/src/tenant/timeline/detach_ancestor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/detach_ancestor.rs b/pageserver/src/tenant/timeline/detach_ancestor.rs index 066daaf5f9..683ffa2ec3 100644 --- a/pageserver/src/tenant/timeline/detach_ancestor.rs +++ b/pageserver/src/tenant/timeline/detach_ancestor.rs @@ -1139,7 +1139,7 @@ pub(super) async fn detach_and_reparent( } else { // TODO: make sure there are no `?` before tenant_reset from after a questionmark from // here. - panic!("bug: complete called on a timeline which has not been detached or which has no live ancestor"); + panic!("bug: detach_and_reparent called on a timeline which has not been detached or which has no live ancestor"); }; // publish the prepared layers before we reparent any of the timelines, so that on restart