Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Unify the handling of the data dir option #23

Merged
merged 1 commit into from Jan 26, 2021

Conversation

oleorhagen
Copy link
Contributor

Also note that it is now applied, prior to setting up the logger

Changelog: None
Signed-off-by: Ole Petter ole.orhagen@northern.tech

Also note that it is now applied, prior to setting up the logger

Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
@oleorhagen oleorhagen merged commit 4cdca8e into mendersoftware:master Jan 26, 2021
@oleorhagen oleorhagen deleted the respectdata branch January 26, 2021 09:06
@oleorhagen
Copy link
Contributor Author

Merging due to customer requirement

@@ -226,6 +219,9 @@ def main():
if args.version:
run_version(args)
return
if args.data:
log.info(f"Data store set to: {args.data}")
settings.PATHS = settings.Path(data_store=args.data)
Copy link
Contributor

Choose a reason for hiding this comment

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

there is one in the module with comment on being singleton. is that on purpose?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants