Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filestore new support #592

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Conversation

andymck
Copy link
Contributor

@andymck andymck commented Aug 10, 2023

Support non settings based creation of a filestore. Specifically added to allow the subscriber location service to instantiate a filestore without using a settings file

@andymck andymck force-pushed the andymck/filestore-new-support branch from e1cfb4f to b6a9ddf Compare August 10, 2023 10:07
@andymck andymck marked this pull request as ready for review August 10, 2023 10:45
Copy link
Contributor

@jeffgrunewald jeffgrunewald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor cleanup opportunity on setting the region i see otherwise good!

Comment on lines 74 to 78
let region = if region.is_some() {
Region::new(region.unwrap())
} else {
Region::new(settings::default_region())
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let region = if region.is_some() {
Region::new(region.unwrap())
} else {
Region::new(settings::default_region())
};
let region = Region::new(region.unwrap_or_else(|| settings::default_region()));

@jeffgrunewald jeffgrunewald merged commit 16558aa into main Aug 14, 2023
1 check passed
@jeffgrunewald jeffgrunewald deleted the andymck/filestore-new-support branch August 14, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants