update rulesguard with new rules (#10392)

Co-authored-by: Nitish Tiwari <nitish@minio.io>
Co-authored-by: Praveen raj Mani <praveen@minio.io>
This commit is contained in:
Harshavardhana
2020-09-01 16:58:13 -07:00
committed by GitHub
parent 3e1fb17b70
commit 2acb530ccd
12 changed files with 58 additions and 34 deletions

View File

@@ -1127,7 +1127,7 @@ func newTestSignedRequestV2(method, urlStr string, contentLength int64, body io.
}
for k, v := range headers {
req.Header.Add(k, v)
req.Header.Set(k, v)
}
err = signRequestV2(req, accessKey, secretKey)
@@ -1151,7 +1151,7 @@ func newTestSignedRequestV4(method, urlStr string, contentLength int64, body io.
}
for k, v := range headers {
req.Header.Add(k, v)
req.Header.Set(k, v)
}
err = signRequestV4(req, accessKey, secretKey)