mirror of
https://github.com/restic/restic.git
synced 2026-10-08 11:27:12 +00:00
golangci-lint: replace deprecated golint with revive
This commit is contained in:
1 parent
2f81af6afa
commit
af31266b7d
5 files changed
+8
-8
No files matched your search
@@ -117,7 +117,7 @@ func (fs *LocalVss) snapshotPath(path string) string {
|
||||
fs.msgMessage("creating VSS snapshot for [%s]\n", vssVolume)
|
||||
|
||||
if snapshot, err := NewVssSnapshot(vssVolume, 120, fs.msgError); err != nil {
|
||||
_ = fs.msgError(vssVolume, errors.Errorf("failed to create snapshot for [%s]: %s\n",
|
||||
_ = fs.msgError(vssVolume, errors.Errorf("failed to create snapshot for [%s]: %s",
|
||||
vssVolume, err))
|
||||
fs.failedSnapshots[volumeNameLower] = struct{}{}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user