chore: remove duplicate word in comments (#15607)

Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
Abirdcfly
2022-08-30 23:26:43 +08:00
committed by GitHub
parent 1f28a3bb80
commit d4e0f13bb3
8 changed files with 8 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ func unsealObjectKey(clientKey []byte, metadata map[string]string, bucket, objec
}
// EncryptSinglePart encrypts an io.Reader which must be the
// the body of a single-part PUT request.
// body of a single-part PUT request.
func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
if err != nil {