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

Fix #10 streamDecrypt ignoring custom S3 disk #15

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

greimers
Copy link

This fixes the hardcoded S3 disk name.
Before, if you had a custom S3 disk with a name different than "s3", the isS3File function would always return false resulting in errors.

This PR changes the isS3File function to check the class type of the adapter instead of the disk name.
This also removes a caching step in order to make sure the adapter is always set correctly.

Closes #10

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.

streamDecrypt ignoring "disk"
1 participant