Skip to content

Commit 51f48ca

Browse files
iampopovichdiemol
andauthored
[rust] simplify get_metadata_path method invoke (#11835)
simplify get_metadata_path method invoke Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
1 parent aa95f80 commit 51f48ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn new_metadata(log: &Logger) -> Metadata {
6868
}
6969

7070
pub fn get_metadata(log: &Logger) -> Metadata {
71-
let metadata_path = get_cache_folder().join(METADATA_FILE);
71+
let metadata_path = get_metadata_path();
7272
log.trace(format!("Reading metadata from {}", metadata_path.display()));
7373

7474
if metadata_path.exists() {

0 commit comments

Comments
 (0)