mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-28 14:36:51 +00:00
Clean up terms "delete timeline" and "detach tenant".
You cannot attach/detach an individual timeline, attach/detach always applies to the whole tenant. However, you can *delete* a single timeline from a tenant. Fix some comments and error messages that confused these two operations.
This commit is contained in:
committed by
Heikki Linnakangas
parent
676c63c329
commit
e5e40a31f4
@@ -346,7 +346,7 @@ impl Tenant {
|
||||
|
||||
ensure!(
|
||||
!children_exist,
|
||||
"Cannot detach timeline which has child timelines"
|
||||
"Cannot delete timeline which has child timelines"
|
||||
);
|
||||
let timeline_entry = match timelines.entry(timeline_id) {
|
||||
Entry::Occupied(e) => e,
|
||||
|
||||
Reference in New Issue
Block a user