mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Bump Go version in toolchain directive to 1.24.8 (#21629)
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user