Skip to content

Commit

Permalink
object/put: Drop redundant var declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Dec 4, 2024
1 parent 5a972a4 commit a0a4df1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/services/object/put/streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func (p *Streamer) preparePrm(prm *PutInitPrm) error {
if localOnly && prm.copiesNumber > 0 {
return errors.New("storage of multiple object replicas is requested for a local operation")
}

Check warning on line 146 in pkg/services/object/put/streamer.go

View check run for this annotation

Codecov / codecov/patch

pkg/services/object/put/streamer.go#L143-L146

Added lines #L143 - L146 were not covered by tests
var err error

localNodeKey, err := p.keyStorage.GetKey(nil)
if err != nil {
Expand Down

0 comments on commit a0a4df1

Please sign in to comment.