- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isValidLocation (0.18 sec)
-
cmd/handler-utils.go
location = locationConstraint.Location if location == "" { location = globalSite.Region() } if !isValidLocation(location) { return location, ErrInvalidRegion } return location, ErrNone } // Validates input location is same as configured region // of MinIO server. func isValidLocation(location string) bool { region := globalSite.Region() return region == "" || region == location }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.4K bytes - Viewed (1)