mirror of https://github.com/rclone/rclone.git
cloudinary: var naming convention - #8416
This commit is contained in:
parent
dca0aedd95
commit
ca0335b60d
|
@ -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…
Reference in New Issue