mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
cleanup ignored static analysis (#16767)
This commit is contained in:
@@ -630,9 +630,8 @@ func TestDoesV4PresignParamsExist(t *testing.T) {
|
||||
// TestParsePreSignV4 - Validates the parsing logic of Presignied v4 request from its url query values.
|
||||
func TestParsePreSignV4(t *testing.T) {
|
||||
// converts the duration in seconds into string format.
|
||||
getDurationStr := func(expires int) string {
|
||||
return strconv.Itoa(expires)
|
||||
}
|
||||
getDurationStr := strconv.Itoa
|
||||
|
||||
// used in expected preSignValues, preSignValues.Date is of type time.Time .
|
||||
queryTime := UTCNow()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user