[#2260] services/object: Do not assemble object with TTL=1

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-02-15 12:43:52 +03:00 committed by fyrchik
parent d1d123d180
commit 2567f8020e

View file

@ -128,7 +128,7 @@ func (exec execCtx) key() (*ecdsa.PrivateKey, error) {
} }
func (exec *execCtx) canAssemble() bool { func (exec *execCtx) canAssemble() bool {
return exec.svc.assembly && !exec.isRaw() && !exec.headOnly() return exec.svc.assembly && !exec.isRaw() && !exec.headOnly() && !exec.isLocal()
} }
func (exec *execCtx) splitInfo() *objectSDK.SplitInfo { func (exec *execCtx) splitInfo() *objectSDK.SplitInfo {