mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
applyMetaStripmetaOption => applyStripMetadataOption
This commit is contained in:
parent
73a5d794f3
commit
f98dfca44a
@ -850,7 +850,7 @@ func applyFilenameOption(po *processingOptions, args []string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func applyMetaStripmetaOption(po *processingOptions, args []string) error {
|
||||
func applyStripMetadataOption(po *processingOptions, args []string) error {
|
||||
if len(args[0]) > 0 {
|
||||
po.StripMetadata = parseBoolOption(args[0])
|
||||
}
|
||||
@ -902,10 +902,10 @@ func applyProcessingOption(po *processingOptions, name string, args []string) er
|
||||
return applyPresetOption(po, args)
|
||||
case "cachebuster", "cb":
|
||||
return applyCacheBusterOption(po, args)
|
||||
case "strip_metadata", "sm":
|
||||
return applyStripMetadataOption(po, args)
|
||||
case "filename", "fn":
|
||||
return applyFilenameOption(po, args)
|
||||
case "strip_metadata", "sm":
|
||||
return applyMetaStripmetaOption(po, args)
|
||||
}
|
||||
|
||||
return fmt.Errorf("Unknown processing option: %s", name)
|
||||
|
Loading…
Reference in New Issue
Block a user