| 422 | }, |
| 423 | (bucket, objMD, raftSessionId, next) => { |
| 424 | const needQuotaCheck = requestType => requestType.some(type => actionNeedQuotaCheck[type] || |
| 425 | actionWithDataDeletion[type]); |
| 426 | const checkQuota = params.checkQuota === undefined ? needQuotaCheck(requestType) : params.checkQuota; |
| 427 | // withVersionId cover cases when an object is being restored with a specific version ID. |
| 428 | // In this case, the storage space was already accounted for when the RestoreObject API call |
no outgoing calls
no test coverage detected