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

Convert _APP_STORAGE_DEVICE env var to lowercase #4988

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

stnguyen90
Copy link
Contributor

What does this PR do?

This is done for backwards compatibility. Up to utopia-php/storage version 0.12.X, the devices were not lowercase. Starting 0.13.X, they are all converted to lowercase, but people would still have the old case in their .env file. This change makes the value check insensitive so that the value from older versions still works.

Test Plan

Manual

Related PRs and Issues

Have you added your change to the Changelog?

No

Have you read the Contributing Guidelines on issues?

Yes

This is done for backwards compatibility. Up to utopia-php/storage
version 0.12.X, the devices were not lowercase. Starting 0.13.X, they
are all converted to lowercase, but people would still have the old
case in their .env file. This change makes the value check insensitive
so that the value from older versions still works.
@vikasosmium
Copy link

I would like to work on this issue, Please assign me.

@stnguyen90
Copy link
Contributor Author

I would like to work on this issue, Please assign me.

@wharl, I'm not sure what you mean since this is a PR 🧐

@christyjacob4 christyjacob4 merged commit 7c2c68c into master Jan 26, 2023
@stnguyen90 stnguyen90 deleted the fix-storage-device-case branch February 14, 2023 00:34
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

3 participants