clippy continued

This commit is contained in:
Christian Schwarz
2023-05-26 19:33:11 +02:00
parent 6b25cb5030
commit 9d3267e474

View File

@@ -1581,9 +1581,9 @@ impl Tenant {
let load_cause = TimelineLoadCause::TimelineCreate {
placeholder_timeline: Arc::clone(&placeholder_timeline),
// branched timelines (ancestor.is_some()) just have the metadata file
// bootstrapped timelines (!ancestor.is_some()) have layers due to initdb
expxect_layer_files: !ancestor.0.is_some(),
// branched timelines (ancestor == Some) just have the metadata file
// bootstrapped timelines (ancestor == None) have layers due to initdb
expxect_layer_files: ancestor.0.is_none(),
};
let real_timeline = self
.load_local_timeline(new_timeline_id, metadata, ancestor, load_cause, ctx)