We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f52d3 commit 5560f1fCopy full SHA for 5560f1f
src/datasets.jl
@@ -868,13 +868,13 @@ function _write_rclone_config(
868
access_key_id::AbstractString,
869
secret_access_key::AbstractString,
870
session_token::AbstractString,
871
- provider::AbstractString="AWS",
872
- endpoint::AbstractString="",
+ vendor::AbstractString,
+ endpoint::AbstractString,
873
)
874
- if lowercase(provider) == "aws"
875
- provider = "AWS"
876
- elseif lowercase(provider) == "minio"
877
- provider = "Minio"
+ provider = if vendor == "aws"
+ "AWS"
+ elseif provider == "minio"
+ "Minio"
878
else
879
throw(JuliaHubError("Unknown storage backend $(provider)"))
880
end
0 commit comments