Skip to content

Commit

Permalink
Add comment and revise doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreenbury authored Sep 3, 2024
1 parent c84bbaf commit 56331cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ async fn read_popgetter(config: Config) -> anyhow::Result<Popgetter> {
match Popgetter::new_with_config_and_cache(config.clone(), &path) {
Ok(popgetter) => return Ok(popgetter),
Err(err) => {
// Log error, continue without cache and attempt to create one
error!("Failed to read metadata from cache with error: {err}");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use tokio::try_join;

use crate::{config::Config, search::MetricId, COL};

/// This module contains the base url and names of the files that contain the metadata.
/// This module contains the names of the files that contain the metadata.
pub mod paths {
pub const GEOMETRY_METADATA: &str = "geometry_metadata.parquet";
pub const METRIC_METADATA: &str = "metric_metadata.parquet";
Expand Down

0 comments on commit 56331cc

Please sign in to comment.