Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GSF] Syncing Fork #29

Merged
merged 26 commits into from
Jun 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
445b8f6
Address more concerns highlighted by linters
sykesm May 25, 2020
019cecc
Fixed write_first_app.rst typo
pratikspatil024 May 25, 2020
853d555
FAB-17840 Ch.Part.API: Join channel REST handler (#1305)
tock-ibm May 26, 2020
1bebd00
Spelling: s/chainocde/chaincode/g
sykesm May 26, 2020
90442af
Retire dormant Fabric maintainers
denyeart May 20, 2020
83f884f
Add NOTICE to license ignore list
May 19, 2020
3a30ba7
add NOTICE file
christo4ferris Feb 12, 2020
19b76b1
Fix some typo in docs
naonishijima May 27, 2020
d8eb093
Remove txmgr interface
manish-sethi May 27, 2020
cc75716
FAB-17841: Ch.Part.API: Remove channel REST handler (#1330)
tock-ibm May 27, 2020
7fa9da9
Update commercial paper doc to use enrollUser.js
Apr 29, 2020
2689ed2
Use protolator from fabric-config
sykesm May 27, 2020
c428e2a
Revert "Bump viper version to the last working commit"
May 27, 2020
d71767c
_lifecycle ignore previous build failure during install (#1280)
wlahti May 28, 2020
6be8c09
[FAB-17927] Add AllChaincodesInfo to DeployedChaincodeInfoProvider (#…
wenjianqiao May 28, 2020
5b036f1
[FAB-17471] Fix OrdererType key to correct line
naonishijima May 28, 2020
41f8b0a
[FAB-17059] Add missing mspID when init MembershipProvider.
hello2mao May 20, 2020
251e989
fsync and do not generate empty files in snapshots (#1345)
manish-sethi May 28, 2020
4d8b3cc
fix infinite loop during full range query (#1347)
cendhu May 29, 2020
55308c7
Remove unnecessary extension of osn (#1351)
guoger May 29, 2020
4862f56
[FAB-17935] Change unnecessary warning log line to debug in gossip (#…
caod123 May 29, 2020
7199378
[FAB-17900] Update BCCSP.PKCS11.Pin in examples
stephyee May 29, 2020
adf7436
[FAB-17900] Fixes numeric env variable override bug
stephyee May 29, 2020
330da90
Remove s390x, powerpc64le from RELEASE_PLATFORMS
sykesm May 29, 2020
90a4665
Backfill test for BCCSP environment overrides...
sykesm May 31, 2020
ab88de1
Updates in master for v2.1.1 release
denyeart Jun 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ Maintainers
| Chris Ferris | [christo4ferris][christo4ferris] | cbf | <chris.ferris@gmail.com>
| Dave Enyeart | [denyeart][denyeart] | dave.enyeart | <enyeart@us.ibm.com>
| Jay Guo | [guoger][guoger] | guoger | <guojiannan1101@gmail.com>
| Jonathan Levi | [hacera][hacera] |JonathanLevi | <jonathan@hacera.com>
| Jason Yellick | [jyellick][jyellick] | jyellick | <jyellick@us.ibm.com>
| Manish Sethi | [manish-sethi][manish-sethi] | manish-sethi | <manish.sethi@gmail.com>
| Gari Singh | [mastersingh24][mastersingh24] | mastersingh24 | <gari.r.singh@gmail.com>
| Srinivasan Muralidharan | [muralisrini][muralisrini] | muralisr | <srinivasan.muralidharan99@gmail.com>
| Matthew Sykes | [sykesm][sykesm] | sykesm | <sykesmat@us.ibm.com>
| Yacov Manevich | [yacovm][yacovm] | yacovm | <yacovm@il.ibm.com>

Expand Down Expand Up @@ -46,9 +44,11 @@ Maintainers
| Binh Nguyen | [binhn][binhn] | binhn | <binh1010010110@gmail.com>
| Gabor Hosszu | [gabre][gabre] | hgabor | <gabor@digitalasset.com>
| Greg Haskins | [ghaskins][ghaskins] | ghaskins | <gregory.haskins@gmail.com>
| Jonathan Levi | [hacera][hacera] |JonathanLevi | <jonathan@hacera.com>
| Yaoguo Jiang | [jiangyaoguo][jiangyaoguo] | jiangyaoguo | <jiangyaoguo@gmail.com>
| Jim Zhang | [jimthematrix][jimthematrix] | jimthematrix | <jim_the_matrix@hotmail.com>
| Kostas Christidis | [kchristidis][kchristidis] | kostas | <kostas@gmail.com>
| Srinivasan Muralidharan | [muralisrini][muralisrini] | muralisr | <srinivasan.muralidharan99@gmail.com>
| Keith Smith | [smithbk][smithbk] | smithbk | <bksmith@us.ibm.com>
| Sheehan Anderson | [srderson][srderson] | sheehan | <sranderson@gmail.com>
| Tamas Blummer | [tamasblummer][tamasblummer] | tamas | <tamas@digitalasset.com>
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ GO_TAGS ?=

RELEASE_EXES = orderer $(TOOLS_EXES)
RELEASE_IMAGES = baseos ccenv orderer peer tools
RELEASE_PLATFORMS = darwin-amd64 linux-amd64 linux-ppc64le linux-s390x windows-amd64
RELEASE_PLATFORMS = darwin-amd64 linux-amd64 windows-amd64
TOOLS_EXES = configtxgen configtxlator cryptogen discover idemixgen peer

pkgmap.configtxgen := $(PKGNAME)/cmd/configtxgen
Expand Down
5 changes: 5 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Hyperledger Fabric
Copyright [2016-2020] contributors to Hyperledger Fabric

This product includes software developed at
Hyperledger (http://www.hyperledger.org/).
2 changes: 1 addition & 1 deletion bccsp/factory/nopkcs11.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const pkcs11Enabled = false
// FactoryOpts holds configuration information used to initialize factory implementations
type FactoryOpts struct {
ProviderName string `mapstructure:"default" json:"default" yaml:"Default"`
SwOpts *SwOpts `mapstructure:"SW,omitempty" json:"SW,omitempty" yaml:"SwOpts"`
SwOpts *SwOpts `mapstructure:"SW,omitempty" json:"SW,omitempty" yaml:"SW,omitempty"`
}

// InitFactories must be called before using factory interfaces
Expand Down
2 changes: 1 addition & 1 deletion bccsp/factory/pkcs11.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const pkcs11Enabled = false
// FactoryOpts holds configuration information used to initialize factory implementations
type FactoryOpts struct {
ProviderName string `mapstructure:"default" json:"default" yaml:"Default"`
SwOpts *SwOpts `mapstructure:"SW,omitempty" json:"SW,omitempty" yaml:"SwOpts"`
SwOpts *SwOpts `mapstructure:"SW,omitempty" json:"SW,omitempty" yaml:"SW,omitempty"`
Pkcs11Opts *pkcs11.PKCS11Opts `mapstructure:"PKCS11,omitempty" json:"PKCS11,omitempty" yaml:"PKCS11"`
}

Expand Down
2 changes: 1 addition & 1 deletion bccsp/idemix/bridge/bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ var _ = Describe("Idemix Bridge", func() {
})

Context("public nym import", func() {

It("success", func() {
npk := handlers.NewNymPublicKey(&bridge.Ecp{
E: FP256BN.NewECPbigs(FP256BN.NewBIGint(10), FP256BN.NewBIGint(20)),
Expand All @@ -268,6 +267,7 @@ var _ = Describe("Idemix Bridge", func() {
Expect(raw).NotTo(BeNil())

npk2, err := User.NewPublicNymFromBytes(raw)
Expect(err).NotTo(HaveOccurred())
raw2, err := npk2.Bytes()
Expect(err).NotTo(HaveOccurred())
Expect(raw2).NotTo(BeNil())
Expand Down
8 changes: 2 additions & 6 deletions bccsp/pkcs11/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,17 +226,13 @@ func (csp *impl) Decrypt(k bccsp.Key, ciphertext []byte, opts bccsp.DecrypterOpt
// This is a convenience function. Useful to self-configure, for tests where usual configuration is not
// available
func FindPKCS11Lib() (lib, pin, label string) {
//FIXME: Till we workout the configuration piece, look for the libraries in the familiar places
lib = os.Getenv("PKCS11_LIB")
if lib == "" {
pin = "98765432"
label = "ForFabric"
possibilities := []string{
"/usr/lib/softhsm/libsofthsm2.so", //Debian
"/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so", //Ubuntu
"/usr/lib/s390x-linux-gnu/softhsm/libsofthsm2.so", //Ubuntu
"/usr/lib/powerpc64le-linux-gnu/softhsm/libsofthsm2.so", //Power
"/usr/local/Cellar/softhsm/2.5.0/lib/softhsm/libsofthsm2.so", //MacOS
"/usr/lib/softhsm/libsofthsm2.so", //Debian
"/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so", //Ubuntu
}
for _, path := range possibilities {
if _, err := os.Stat(path); !os.IsNotExist(err) {
Expand Down
1 change: 1 addition & 0 deletions cmd/common/signer/signer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func TestSigner(t *testing.T) {
assert.NoError(t, err)

r, s, err := utils.UnmarshalECDSASignature(sig)
assert.NoError(t, err)
ecdsa.Verify(&signer.key.PublicKey, util.ComputeSHA256(msg), r, s)
}

Expand Down
7 changes: 5 additions & 2 deletions cmd/configtxgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (
"strings"

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric-config/protolator"
"github.com/hyperledger/fabric-config/protolator/protoext/ordererext"
cb "github.com/hyperledger/fabric-protos-go/common"
"github.com/hyperledger/fabric/bccsp/factory"
"github.com/hyperledger/fabric/common/channelconfig"
"github.com/hyperledger/fabric/common/flogging"
"github.com/hyperledger/fabric/common/tools/protolator"
"github.com/hyperledger/fabric/common/tools/protolator/protoext/ordererext"
"github.com/hyperledger/fabric/internal/configtxgen/encoder"
"github.com/hyperledger/fabric/internal/configtxgen/genesisconfig"
"github.com/hyperledger/fabric/internal/configtxgen/metadata"
Expand Down Expand Up @@ -114,6 +114,9 @@ func doOutputAnchorPeersUpdate(conf *genesisconfig.Profile, channelID string, ou
}

updateTx, err := protoutil.CreateSignedEnvelope(cb.HeaderType_CONFIG_UPDATE, channelID, nil, newConfigUpdateEnv, 0, 0)
if err != nil {
return errors.WithMessage(err, "could not create signed envelope")
}

logger.Info("Writing anchor peer update")
err = writeFile(outputAnchorPeersUpdate, protoutil.MarshalOrPanic(updateTx), 0640)
Expand Down
2 changes: 1 addition & 1 deletion cmd/configtxlator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import (
"reflect"

"github.com/golang/protobuf/proto"
"github.com/hyperledger/fabric-config/protolator"
_ "github.com/hyperledger/fabric-protos-go/common"
cb "github.com/hyperledger/fabric-protos-go/common" // Import these to register the proto types
_ "github.com/hyperledger/fabric-protos-go/msp"
_ "github.com/hyperledger/fabric-protos-go/orderer"
_ "github.com/hyperledger/fabric-protos-go/orderer/etcdraft"
_ "github.com/hyperledger/fabric-protos-go/peer"
"github.com/hyperledger/fabric/common/flogging"
"github.com/hyperledger/fabric/common/tools/protolator"
"github.com/hyperledger/fabric/internal/configtxlator/metadata"
"github.com/hyperledger/fabric/internal/configtxlator/rest"
"github.com/hyperledger/fabric/internal/configtxlator/update"
Expand Down
27 changes: 18 additions & 9 deletions common/ledger/blkstorage/blockindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package blkstorage
import (
"bytes"
"fmt"
"path"
"path/filepath"
"unicode/utf8"

"github.com/golang/protobuf/proto"
Expand Down Expand Up @@ -260,13 +260,6 @@ func (index *blockIndex) exportUniqueTxIDs(dir string, newHashFunc snapshot.NewH
return nil, ErrAttrNotIndexed
}

// create the data file
dataFile, err := snapshot.CreateFile(path.Join(dir, snapshotDataFileName), snapshotFileFormat, newHashFunc)
if err != nil {
return nil, err
}
defer dataFile.Close()

dbItr := index.db.GetIterator([]byte{txIDIdxKeyPrefix}, []byte{txIDIdxKeyPrefix + 1})
defer dbItr.Release()
if err := dbItr.Error(); err != nil {
Expand All @@ -275,6 +268,8 @@ func (index *blockIndex) exportUniqueTxIDs(dir string, newHashFunc snapshot.NewH

var previousTxID string
var numTxIDs uint64 = 0
var dataFile *snapshot.FileWriter
var err error
for dbItr.Next() {
if err := dbItr.Error(); err != nil {
return nil, errors.Wrap(err, "internal leveldb error while iterating for txids")
Expand All @@ -288,19 +283,30 @@ func (index *blockIndex) exportUniqueTxIDs(dir string, newHashFunc snapshot.NewH
continue
}
previousTxID = txID
if numTxIDs == 0 { // first iteration, create the data file
dataFile, err = snapshot.CreateFile(filepath.Join(dir, snapshotDataFileName), snapshotFileFormat, newHashFunc)
if err != nil {
return nil, err
}
defer dataFile.Close()
}
if err := dataFile.EncodeString(txID); err != nil {
return nil, err
}
numTxIDs++
}

if dataFile == nil {
return nil, nil
}

dataHash, err := dataFile.Done()
if err != nil {
return nil, err
}

// create the metadata file
metadataFile, err := snapshot.CreateFile(path.Join(dir, snapshotMetadataFileName), snapshotFileFormat, newHashFunc)
metadataFile, err := snapshot.CreateFile(filepath.Join(dir, snapshotMetadataFileName), snapshotFileFormat, newHashFunc)
if err != nil {
return nil, err
}
Expand All @@ -310,6 +316,9 @@ func (index *blockIndex) exportUniqueTxIDs(dir string, newHashFunc snapshot.NewH
return nil, err
}
metadataHash, err := metadataFile.Done()
if err != nil {
return nil, err
}

return map[string][]byte{
snapshotDataFileName: dataHash,
Expand Down
33 changes: 20 additions & 13 deletions common/ledger/blkstorage/blockindex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"hash"
"io/ioutil"
"os"
"path"
"path/filepath"
"testing"

"github.com/hyperledger/fabric-protos-go/common"
Expand Down Expand Up @@ -270,20 +270,27 @@ func TestExportUniqueTxIDs(t *testing.T) {
defer blkfileMgrWrapper.close()
blkfileMgr := blkfileMgrWrapper.blockfileMgr

bg, gb := testutil.NewBlockGenerator(t, "myChannel", false)
blkfileMgr.addBlock(gb)

testSnapshotDir := testPath()
defer os.RemoveAll(testSnapshotDir)

// empty store generates no output
fileHashes, err := blkfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
require.NoError(t, err)
require.Empty(t, fileHashes)
files, err := ioutil.ReadDir(testSnapshotDir)
require.NoError(t, err)
require.Len(t, files, 0)

// add genesis block and test the exported bytes
bg, gb := testutil.NewBlockGenerator(t, "myChannel", false)
blkfileMgr.addBlock(gb)
configTxID, err := protoutil.GetOrComputeTxIDFromEnvelope(gb.Data.Data[0])
require.NoError(t, err)
fileHashes, err := blkfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
fileHashes, err = blkfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
require.NoError(t, err)
verifyExportedTxIDs(t, testSnapshotDir, fileHashes, configTxID)
os.Remove(path.Join(testSnapshotDir, snapshotDataFileName))
os.Remove(path.Join(testSnapshotDir, snapshotMetadataFileName))
os.Remove(filepath.Join(testSnapshotDir, snapshotDataFileName))
os.Remove(filepath.Join(testSnapshotDir, snapshotMetadataFileName))

// add block-1 and test the exported bytes
block1 := bg.NextBlockWithTxid(
Expand All @@ -300,8 +307,8 @@ func TestExportUniqueTxIDs(t *testing.T) {
fileHashes, err = blkfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
require.NoError(t, err)
verifyExportedTxIDs(t, testSnapshotDir, fileHashes, "txid-1", "txid-2", "txid-3", configTxID) //"txid-1" appears once, Txids appear in radix sort order
os.Remove(path.Join(testSnapshotDir, snapshotDataFileName))
os.Remove(path.Join(testSnapshotDir, snapshotMetadataFileName))
os.Remove(filepath.Join(testSnapshotDir, snapshotDataFileName))
os.Remove(filepath.Join(testSnapshotDir, snapshotMetadataFileName))

// add block-2 and test the exported bytes
block2 := bg.NextBlockWithTxid(
Expand Down Expand Up @@ -351,7 +358,7 @@ func TestExportUniqueTxIDsErrorCases(t *testing.T) {
defer os.RemoveAll(testSnapshotDir)

// error during data file creation
dataFilePath := path.Join(testSnapshotDir, snapshotDataFileName)
dataFilePath := filepath.Join(testSnapshotDir, snapshotDataFileName)
_, err := os.Create(dataFilePath)
require.NoError(t, err)
_, err = blkfileMgrWrapper.blockfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
Expand All @@ -361,7 +368,7 @@ func TestExportUniqueTxIDsErrorCases(t *testing.T) {
// error during metadata file creation
fmt.Printf("testSnapshotDir=%s", testSnapshotDir)
require.NoError(t, os.MkdirAll(testSnapshotDir, 0700))
metadataFilePath := path.Join(testSnapshotDir, snapshotMetadataFileName)
metadataFilePath := filepath.Join(testSnapshotDir, snapshotMetadataFileName)
_, err = os.Create(metadataFilePath)
require.NoError(t, err)
_, err = blkfileMgrWrapper.blockfileMgr.index.exportUniqueTxIDs(testSnapshotDir, testNewHashFunc)
Expand All @@ -388,13 +395,13 @@ func verifyExportedTxIDs(t *testing.T, dir string, fileHashes map[string][]byte,
require.Contains(t, fileHashes, snapshotDataFileName)
require.Contains(t, fileHashes, snapshotMetadataFileName)

dataFile := path.Join(dir, snapshotDataFileName)
dataFile := filepath.Join(dir, snapshotDataFileName)
dataFileContent, err := ioutil.ReadFile(dataFile)
require.NoError(t, err)
dataFileHash := sha256.Sum256(dataFileContent)
require.Equal(t, dataFileHash[:], fileHashes[snapshotDataFileName])

metadataFile := path.Join(dir, snapshotMetadataFileName)
metadataFile := filepath.Join(dir, snapshotMetadataFileName)
metadataFileContent, err := ioutil.ReadFile(metadataFile)
require.NoError(t, err)
metadataFileHash := sha256.Sum256(metadataFileContent)
Expand Down
8 changes: 7 additions & 1 deletion common/ledger/blkstorage/reset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func TestResetToGenesisBlkMultipleBlkFiles(t *testing.T) {

ledgerDir := (&Conf{blockStorageDir: blockStoreRootDir}).getLedgerBlockDir("ledger1")
files, err := ioutil.ReadDir(ledgerDir)
require.NoError(t, err)
require.Len(t, files, 5)
resetToGenesisBlk(ledgerDir)
assertBlocksDirOnlyFileWithGenesisBlock(t, ledgerDir, blocks[0])
Expand Down Expand Up @@ -108,6 +109,7 @@ func TestResetBlockStore(t *testing.T) {
// test load and clear preResetHeight for ledger1 and ledger2
ledgerIDs := []string{"ledger1", "ledger2"}
h, err := LoadPreResetHeight(blockStoreRootDir, ledgerIDs)
require.NoError(t, err)
require.Equal(t,
map[string]uint64{
"ledger1": 20,
Expand All @@ -125,6 +127,7 @@ func TestResetBlockStore(t *testing.T) {

require.NoError(t, ClearPreResetHeight(blockStoreRootDir, ledgerIDs))
h, err = LoadPreResetHeight(blockStoreRootDir, ledgerIDs)
require.NoError(t, err)
require.Equal(t,
map[string]uint64{},
h,
Expand All @@ -134,6 +137,7 @@ func TestResetBlockStore(t *testing.T) {
require.NoError(t, ResetBlockStore(blockStoreRootDir))
ledgerIDs = []string{"ledger2"}
h, err = LoadPreResetHeight(blockStoreRootDir, ledgerIDs)
require.NoError(t, err)
require.Equal(t,
map[string]uint64{
"ledger2": 40,
Expand All @@ -143,6 +147,7 @@ func TestResetBlockStore(t *testing.T) {
require.NoError(t, ClearPreResetHeight(blockStoreRootDir, ledgerIDs))
// verify that ledger1 has preResetHeight file is not deleted
h, err = LoadPreResetHeight(blockStoreRootDir, []string{"ledger1", "ledger2"})
require.NoError(t, err)
require.Equal(t,
map[string]uint64{
"ledger1": 20,
Expand Down Expand Up @@ -195,6 +200,7 @@ func TestRecordHeight(t *testing.T) {

func assertBlocksDirOnlyFileWithGenesisBlock(t *testing.T, ledgerDir string, genesisBlock *common.Block) {
files, err := ioutil.ReadDir(ledgerDir)
require.NoError(t, err)
require.Len(t, files, 2)
require.Equal(t, "__backupGenesisBlockBytes", files[0].Name())
require.Equal(t, "blockfile_000000", files[1].Name())
Expand Down Expand Up @@ -225,7 +231,7 @@ func assertBlockStorePostReset(t *testing.T, store *BlockStore, originallyCommit
require.NoError(t, err)
require.Equal(t, originallyCommittedBlocks[0], blk)

blk, err = store.RetrieveBlockByNumber(1)
_, err = store.RetrieveBlockByNumber(1)
require.Error(t, err)
require.Equal(t, err, ErrNotFoundInIndex)

Expand Down
3 changes: 3 additions & 0 deletions common/ledger/snapshot/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ func (c *FileWriter) Done() ([]byte, error) {
if err := c.bufWriter.Flush(); err != nil {
return nil, errors.Wrapf(err, "error while flushing to the snapshot file: %s ", c.file.Name())
}
if err := c.file.Sync(); err != nil {
return nil, err
}
if err := c.file.Close(); err != nil {
return nil, errors.Wrapf(err, "error while closing the snapshot file: %s ", c.file.Name())
}
Expand Down
Loading