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:
Heikki Linnakangas
2022-10-11 17:47:41 +03:00
committed by Heikki Linnakangas
parent 676c63c329
commit e5e40a31f4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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,