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

Support using memory storage by passing dataDirectory: false #37

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

thgreasi
Copy link
Contributor

Change-type: minor

@thgreasi thgreasi marked this pull request as draft July 26, 2023 16:23
@thgreasi thgreasi marked this pull request as ready for review July 27, 2023 08:05
): BalenaSettingsStorage => {
const store =
options?.dataDirectory === false || !localStore.isSupported()
? virtualStore.createStore()

Choose a reason for hiding this comment

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

Much cleaner to read without passing a dataDirectory to the virtual store, thanks!

@thgreasi thgreasi force-pushed the data-directory-false branch 2 times, most recently from 07c4e0d to c6c29b0 Compare July 28, 2023 14:26
@thgreasi thgreasi merged commit a52ebd3 into master Jul 28, 2023
48 checks passed
@thgreasi thgreasi deleted the data-directory-false branch July 28, 2023 14:29
thgreasi added a commit to balena-io-modules/balena-auth that referenced this pull request Jul 28, 2023
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.

None yet

2 participants