mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 16:23:28 +03:00
simplify context timeout for readiness (#9772)
additionally also add CORS support to restrict for specific origin, adds a new config and updated the documentation as well
This commit is contained in:
+1
-1
@@ -403,7 +403,7 @@ func (xl xlObjects) crawlAndGetDataUsage(ctx context.Context, buckets []BucketIn
|
||||
return nil
|
||||
}
|
||||
|
||||
// IsReady - No Op.
|
||||
// IsReady - shouldn't be called will panic.
|
||||
func (xl xlObjects) IsReady(ctx context.Context) bool {
|
||||
logger.CriticalIf(ctx, NotImplemented{})
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user