mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
add ruleguard support, fix all the reported issues (#10335)
This commit is contained in:
@@ -102,7 +102,7 @@ func (c *cacheControl) isStale(modTime time.Time) bool {
|
||||
func cacheControlOpts(o ObjectInfo) *cacheControl {
|
||||
c := cacheControl{}
|
||||
m := o.UserDefined
|
||||
if o.Expires != timeSentinel {
|
||||
if !o.Expires.Equal(timeSentinel) {
|
||||
c.expiry = o.Expires
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user