- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isValidLocation (0.14 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0)