parent
cfa7606b4e
commit
68891839d3
4
vendor/github.com/hashicorp/raft/file_snapshot.go
generated
vendored
4
vendor/github.com/hashicorp/raft/file_snapshot.go
generated
vendored
|
@ -384,6 +384,10 @@ func (s *FileSnapshotSink) Close() error {
|
|||
// Close the open handles
|
||||
if err := s.finalize(); err != nil {
|
||||
s.logger.Printf("[ERR] snapshot: Failed to finalize snapshot: %v", err)
|
||||
if delErr := os.RemoveAll(s.dir); delErr != nil {
|
||||
s.logger.Printf("[ERR] snapshot: Failed to delete temporary snapshot directory at path %v: %v", s.dir, delErr)
|
||||
return delErr
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
|
@ -851,10 +851,10 @@
|
|||
"revision": "a14192a58a694c123d8fe5481d4a4727d6ae82f3"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "bYn+HDmt7YLFvEV6DagMup8mkZE=",
|
||||
"checksumSHA1": "OCPP4JxnuSSmweEL9khCd6OdIts=",
|
||||
"path": "github.com/hashicorp/raft",
|
||||
"revision": "e5e581e04af7c46974b99195347cc0c380c0d841",
|
||||
"revisionTime": "2017-06-09T23:09:26Z"
|
||||
"revision": "e45173826775c4b782961c7b5758ba484b91464b",
|
||||
"revisionTime": "2017-07-10T17:20:01Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "QAxukkv54/iIvLfsUP6IK4R0m/A=",
|
||||
|
|
Loading…
Reference in a new issue