fix fixer
This commit is contained in:
parent
1edc931e7f
commit
ddf223b56b
|
@ -27,7 +27,9 @@ func (FixerISOChecksumTypeAndURL) Fix(input map[string]interface{}) (map[string]
|
|||
checksum := stringValue(builder["iso_checksum"])
|
||||
delete(builder, "iso_checksum_url")
|
||||
delete(builder, "iso_checksum_type")
|
||||
|
||||
if checksum == "" && checksumUrl == "" {
|
||||
continue
|
||||
}
|
||||
if checksumUrl != "" {
|
||||
checksum = "file:" + checksumUrl
|
||||
} else if checksumType != "" {
|
||||
|
|
Loading…
Reference in New Issue