Skip to content

Commit

Permalink
[#2260] services/object: Do not assemble object with TTL=1
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
  • Loading branch information
fyrchik committed Feb 18, 2023
1 parent 8508f88 commit 907f427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/object/get/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (exec execCtx) key() (*ecdsa.PrivateKey, error) {
}

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 {
Expand Down

0 comments on commit 907f427

Please sign in to comment.