Bump Go version in toolchain directive to 1.24.8 (#21629)

This commit is contained in:
Mark Theunissen 2025-10-10 20:57:03 +02:00 committed by GitHub
parent d51a4a4ff6
commit ba3c0fd1c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 35 additions and 29 deletions

View File

@ -296,7 +296,7 @@ func registerAdminRouter(router *mux.Router, enableConfigOps bool) {
adminRouter.Methods(http.MethodPut).Path(adminVersion + "/import-iam").HandlerFunc(adminMiddleware(adminAPI.ImportIAM, noGZFlag))
adminRouter.Methods(http.MethodPut).Path(adminVersion + "/import-iam-v2").HandlerFunc(adminMiddleware(adminAPI.ImportIAMV2, noGZFlag))
// IDentity Provider configuration APIs
// Identity Provider configuration APIs
adminRouter.Methods(http.MethodPut).Path(adminVersion + "/idp-config/{type}/{name}").HandlerFunc(adminMiddleware(adminAPI.AddIdentityProviderCfg))
adminRouter.Methods(http.MethodPost).Path(adminVersion + "/idp-config/{type}/{name}").HandlerFunc(adminMiddleware(adminAPI.UpdateIdentityProviderCfg))
adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp-config/{type}").HandlerFunc(adminMiddleware(adminAPI.ListIdentityProviderCfg))

View File

@ -151,7 +151,7 @@ func init() {
cpuLoad1: "CPU load average 1min",
cpuLoad5: "CPU load average 5min",
cpuLoad15: "CPU load average 15min",
cpuLoad1Perc: "CPU load average 1min (perentage)",
cpuLoad1Perc: "CPU load average 1min (percentage)",
cpuLoad5Perc: "CPU load average 5min (percentage)",
cpuLoad15Perc: "CPU load average 15min (percentage)",
}

View File

@ -228,7 +228,7 @@ func (h *metricsV3Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// it's the last part of the path. e.g. /bucket/api/<bucket-name>
bucketIdx := strings.LastIndex(pathComponents, "/")
buckets = append(buckets, pathComponents[bucketIdx+1:])
// remove bucket from pathComponents as it is dyanamic and
// remove bucket from pathComponents as it is dynamic and
// hence not included in the collector path.
pathComponents = pathComponents[:bucketIdx]
}

View File

@ -82,7 +82,7 @@ func TestSortIPs(t *testing.T) {
ipList: []string{"127.0.0.1"},
sortedIPList: []string{"127.0.0.1"},
},
// Non parsable ip is assumed to be hostame and gets preserved
// Non parsable ip is assumed to be hostname and gets preserved
// as the left most elements, regardless of IP based sorting.
{
ipList: []string{"hostname", "127.0.0.1", "192.168.1.106"},

View File

@ -853,7 +853,7 @@ func _testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler, v
{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
// Testing for trancated value (21-24).
// Testing for truncated value (21-24).
{"test-bucket-list-object", "", "", "", 5, resultCases[1], nil, true},
{"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true},
{"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true},
@ -1167,7 +1167,7 @@ func testListObjectVersions(obj ObjectLayer, instanceType string, t1 TestErrHand
}
}
// Formualting the result data set to be expected from ListObjects call inside the tests,
// Formulating the result data set to be expected from ListObjects call inside the tests,
// This will be used in testCases and used for asserting the correctness of ListObjects output in the tests.
resultCases := []ListObjectsInfo{
@ -1591,7 +1591,7 @@ func testListObjectVersions(obj ObjectLayer, instanceType string, t1 TestErrHand
{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (18).
{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
// Testing for trancated value (19-22).
// Testing for truncated value (19-22).
{"test-bucket-list-object", "", "", "", 5, resultCases[1], nil, true},
{"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true},
{"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true},

View File

@ -2,7 +2,7 @@ module github.com/minio/minio/docs/debugging/inspect
go 1.23.0
toolchain go1.24.2
toolchain go1.24.8
require (
github.com/klauspost/compress v1.17.11

View File

@ -1,3 +1,5 @@
module github.com/minio/minio/docs/debugging/pprofgoparser
go 1.21
toolchain go1.24.8

View File

@ -2,4 +2,6 @@ module github.com/minio/minio/docs/debugging/reorder-disks
go 1.21
toolchain go1.24.8
require github.com/minio/pkg/v3 v3.0.1

View File

@ -2,7 +2,7 @@ module github.com/minio/minio/docs/debugging/s3-verify
go 1.23.0
toolchain go1.24.2
toolchain go1.24.8
require github.com/minio/minio-go/v7 v7.0.83

View File

@ -2,6 +2,8 @@ module github.com/minio/minio/docs/debugging/xattr
go 1.21
toolchain go1.24.8
require (
github.com/olekukonko/tablewriter v0.0.5
github.com/pkg/xattr v0.4.9

2
go.mod
View File

@ -2,7 +2,7 @@ module github.com/minio/minio
go 1.24.0
toolchain go1.24.2
toolchain go1.24.8
// Install tools using 'go install tool'.
tool (

View File

@ -118,7 +118,7 @@ In the examples we use a `MSS` type, which is a `map[string]string` that is `msg
}
```
The wrapper will handle all serialization and de-seralization of the request and response,
The wrapper will handle all serialization and de-serialization of the request and response,
and furthermore provides reuse of the structs used for the request and response.
Note that Responses sent for serialization are automatically reused for similar requests.