mirror of
https://github.com/rclone/rclone.git
synced 2025-06-21 04:08:02 +02:00
cloudinary: var naming convention - #8416
This commit is contained in:
parent
078d202f39
commit
52ff407116
@ -246,10 +246,10 @@ func (f *Fs) ToStandardPath(s string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ToStandardName implementation of the api.CloudinaryEncoder
|
// ToStandardName implementation of the api.CloudinaryEncoder
|
||||||
func (f *Fs) ToStandardName(s string, assetUrl string) string {
|
func (f *Fs) ToStandardName(s string, assetURL string) string {
|
||||||
ext := ""
|
ext := ""
|
||||||
if f.opt.AdjustMediaFilesExtensions {
|
if f.opt.AdjustMediaFilesExtensions {
|
||||||
parsedURL, err := url.Parse(assetUrl)
|
parsedURL, err := url.Parse(assetURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fs.Logf(nil, "Error parsing URL: %v", err)
|
fs.Logf(nil, "Error parsing URL: %v", err)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user