Skip to content

feature/support-google-storage #154

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

Merged
merged 2 commits into from
Jan 8, 2019
Merged

Conversation

aditimadan-Cloudinary
Copy link
Contributor

No description provided.

@asisayag2 asisayag2 requested a review from nitzanj December 18, 2018 12:06
@@ -86,7 +86,7 @@ public Map callApi(String action, Map<String, Object> params, Map options, Objec
}
}

if (file instanceof String && !((String) file).matches("ftp:.*|https?:.*|s3:.*|data:[^;]*;base64,([a-zA-Z0-9/+\n=]+)")) {
if (file instanceof String && !((String) file).matches("ftp:.*|https?:.*|s3:.*|gs:.*|data:[^;]*;base64,([a-zA-Z0-9/+\n=]+)")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

You should use StringUtils.isRemoteUrl() instead of duplicating the code (it was already duplicated, but this is a good chance to fix it)

@@ -102,7 +102,7 @@ public Map callApi(String action, Map<String, Object> params, Map options, Objec
}
}

if (file instanceof String && !((String) file).matches("ftp:.*|https?:.*|s3:.*|data:[^;]*;base64,([a-zA-Z0-9/+\n=]+)")) {
if (file instanceof String && !((String) file).matches("ftp:.*|https?:.*|s3:.*|gs:.*|data:[^;]*;base64,([a-zA-Z0-9/+\n=]+)")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment as above.

@aditimadan-Cloudinary aditimadan-Cloudinary self-assigned this Jan 8, 2019
Copy link
Contributor Author

@aditimadan-Cloudinary aditimadan-Cloudinary left a comment

Choose a reason for hiding this comment

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

@nitzanj can you please review this

@nitzanj nitzanj merged commit 5eb95df into master Jan 8, 2019
@nitzanj nitzanj deleted the feature/support-google-storage branch January 22, 2019 12:02
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.

2 participants