mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
8
vendor/github.com/minio/minio-go/v7/functional_tests.go
generated
vendored
8
vendor/github.com/minio/minio-go/v7/functional_tests.go
generated
vendored
@ -141,7 +141,7 @@ func cleanEmptyEntries(fields log.Fields) log.Fields {
|
||||
}
|
||||
|
||||
// log successful test runs
|
||||
func successLogger(testName string, function string, args map[string]interface{}, startTime time.Time) *log.Entry {
|
||||
func successLogger(testName, function string, args map[string]interface{}, startTime time.Time) *log.Entry {
|
||||
// calculate the test case duration
|
||||
duration := time.Since(startTime)
|
||||
// log with the fields as per mint
|
||||
@ -151,7 +151,7 @@ func successLogger(testName string, function string, args map[string]interface{}
|
||||
|
||||
// As few of the features are not available in Gateway(s) currently, Check if err value is NotImplemented,
|
||||
// and log as NA in that case and continue execution. Otherwise log as failure and return
|
||||
func logError(testName string, function string, args map[string]interface{}, startTime time.Time, alert string, message string, err error) {
|
||||
func logError(testName, function string, args map[string]interface{}, startTime time.Time, alert, message string, err error) {
|
||||
// If server returns NotImplemented we assume it is gateway mode and hence log it as info and move on to next tests
|
||||
// Special case for ComposeObject API as it is implemented on client side and adds specific error details like `Error in upload-part-copy` in
|
||||
// addition to NotImplemented error returned from server
|
||||
@ -165,7 +165,7 @@ func logError(testName string, function string, args map[string]interface{}, sta
|
||||
}
|
||||
|
||||
// log failed test runs
|
||||
func failureLog(testName string, function string, args map[string]interface{}, startTime time.Time, alert string, message string, err error) *log.Entry {
|
||||
func failureLog(testName, function string, args map[string]interface{}, startTime time.Time, alert, message string, err error) *log.Entry {
|
||||
// calculate the test case duration
|
||||
duration := time.Since(startTime)
|
||||
var fields log.Fields
|
||||
@ -185,7 +185,7 @@ func failureLog(testName string, function string, args map[string]interface{}, s
|
||||
}
|
||||
|
||||
// log not applicable test runs
|
||||
func ignoredLog(testName string, function string, args map[string]interface{}, startTime time.Time, alert string) *log.Entry {
|
||||
func ignoredLog(testName, function string, args map[string]interface{}, startTime time.Time, alert string) *log.Entry {
|
||||
// calculate the test case duration
|
||||
duration := time.Since(startTime)
|
||||
// log with the fields as per mint
|
||||
|
Reference in New Issue
Block a user