Revert "[#972] Drop x/exp/slices dependency"

This reverts commit f3e50772fd.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-02-19 17:02:39 +03:00 committed by Evgenii Stratonikov
parent 9e55836da5
commit 946f2ec2bf
3 changed files with 2 additions and 2 deletions

BIN
go.sum

Binary file not shown.

View file

@ -3,13 +3,13 @@ package frostfs
import ( import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"slices"
"git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs" "git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors"
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event"
frostfsEvent "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event/frostfs" frostfsEvent "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/morph/event/frostfs"
"go.uber.org/zap" "go.uber.org/zap"
"golang.org/x/exp/slices"
) )
func (np *Processor) handleDeposit(ev event.Event) { func (np *Processor) handleDeposit(ev event.Event) {

View file

@ -2,10 +2,10 @@ package testutil
import ( import (
"encoding/binary" "encoding/binary"
"slices"
"testing" "testing"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"golang.org/x/exp/slices"
) )
func TestOverwriteObjGenerator(t *testing.T) { func TestOverwriteObjGenerator(t *testing.T) {