lookaside_upload_sig: fix checksum reporting

Instead of calling the checksum the 'sha1sum', actually report the
hash parameter used

Signed-off-by: Michel Alexandre Salim <salimma@centosproject.org>
This commit is contained in:
Michel Alexandre Salim 2023-03-03 11:22:40 -06:00
parent ff65ce6b4a
commit ff25e84718
No known key found for this signature in database
GPG key ID: 8B229D2F7CCC04F2

View file

@ -91,7 +91,7 @@ f_log "URL : $lookaside_baseurl"
f_log "Source to upload : ${file} " f_log "Source to upload : ${file} "
f_log "Hash parameter : ${hash_parameter}" f_log "Hash parameter : ${hash_parameter}"
f_log "Package name: $pkgname" f_log "Package name: $pkgname"
f_log "sha1sum: ${checksum}" f_log "${hash_parameter}sum: ${checksum}"
f_log " ====== Trying to upload =======" f_log " ====== Trying to upload ======="
echo "" echo ""