Skip to content

Commit

Permalink
Align argument name with doc comment (apache#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiPatiakin authored and shaeqahmed committed Dec 9, 2024
1 parent e1a9915 commit 084615f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/iceberg/src/spec/table_metadata_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ impl TableMetadataBuilder {
#[must_use]
pub fn new_from_metadata(
previous: TableMetadata,
previous_file_location: Option<String>,
current_file_location: Option<String>,
) -> Self {
Self {
previous_history_entry: previous_file_location.map(|l| MetadataLog {
previous_history_entry: current_file_location.map(|l| MetadataLog {
metadata_file: l,
timestamp_ms: previous.last_updated_ms,
}),
Expand Down

0 comments on commit 084615f

Please sign in to comment.