golangci-lint: replace deprecated golint with revive

This commit is contained in:
Michael Eischer committed 2022-03-28 22:33:17 +02:00
1 parent 2f81af6afa
commit af31266b7d
5 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -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 {