remove printing map() checksums (#16028)

This commit is contained in:
Harshavardhana 2022-11-08 13:29:24 -08:00 committed by GitHub
parent 7260241511
commit 1b0dfb0f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ import (
"crypto/sha1"
"encoding/base64"
"encoding/binary"
"fmt"
"hash"
"hash/crc32"
"net/http"
@ -295,7 +294,6 @@ func TransferChecksumHeader(w http.ResponseWriter, r *http.Request) {
// AddChecksumHeader will transfer any checksum value that has been checked.
func AddChecksumHeader(w http.ResponseWriter, c map[string]string) {
for k, v := range c {
fmt.Println(c, v)
cksum := NewChecksumString(k, v)
if cksum == nil {
continue