mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
build: ineffassign fixes. (#3134)
This commit is contained in:
committed by
Harshavardhana
parent
dd6ecf1193
commit
3e8cb8c937
@@ -789,7 +789,7 @@ func newTestStreamingSignedBadChunkDateRequest(method, urlStr string, contentLen
|
||||
// skew the time between the chunk signature calculation and seed signature.
|
||||
currTime = currTime.Add(1 * time.Second)
|
||||
req, err = assembleStreamingChunks(req, body, chunkSize, secretKey, signature, currTime)
|
||||
return req, nil
|
||||
return req, err
|
||||
}
|
||||
|
||||
// Returns new HTTP request object signed with streaming signature v4.
|
||||
@@ -806,7 +806,7 @@ func newTestStreamingSignedRequest(method, urlStr string, contentLength, chunkSi
|
||||
}
|
||||
|
||||
req, err = assembleStreamingChunks(req, body, chunkSize, secretKey, signature, currTime)
|
||||
return req, nil
|
||||
return req, err
|
||||
}
|
||||
|
||||
// Replaces any occurring '/' in string, into its encoded
|
||||
|
||||
Reference in New Issue
Block a user