diff --git a/cmd/frostfs-cli/modules/container/list.go b/cmd/frostfs-cli/modules/container/list.go index 0e8ea7ad..c8b891d3 100644 --- a/cmd/frostfs-cli/modules/container/list.go +++ b/cmd/frostfs-cli/modules/container/list.go @@ -63,6 +63,7 @@ var listContainersCmd = &cobra.Command{ continue } + cnrID := cnrID prmGet.ClientParams.ContainerID = &cnrID res, err := internalclient.GetContainer(cmd.Context(), prmGet) if err != nil { diff --git a/pkg/local_object_storage/blobstor/internal/blobstortest/common.go b/pkg/local_object_storage/blobstor/internal/blobstortest/common.go index 1f234198..c08e39bf 100644 --- a/pkg/local_object_storage/blobstor/internal/blobstortest/common.go +++ b/pkg/local_object_storage/blobstor/internal/blobstortest/common.go @@ -2,9 +2,9 @@ package blobstortest import ( "context" - "crypto/rand" mrand "math/rand" "testing" + "time" objectCore "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/core/object" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/blobstor/common" @@ -87,7 +87,8 @@ func NewObject(sz uint64) *objectSDK.Object { raw.SetContainerID(cidtest.ID()) payload := make([]byte, sz) - rand.Read(payload) + r := mrand.New(mrand.NewSource(time.Now().UnixNano())) + r.Read(payload) raw.SetPayload(payload) // fit the binary size to the required