mirror of
https://github.com/restic/restic.git
synced 2026-11-21 04:52:42 +00:00
node: report error on xattr retrieval using standard error logging
This commit is contained in:
1 parent
f2b9ea6455
commit
df7924f4df
17 files changed
+30
-29
No files matched your search
@@ -86,7 +86,7 @@ func TestNodeMarshal(t *testing.T) {
|
||||
func nodeForFile(t *testing.T, name string) *restic.Node {
|
||||
f, err := (&fs.Local{}).OpenFile(name, fs.O_NOFOLLOW, true)
|
||||
rtest.OK(t, err)
|
||||
node, err := f.ToNode(false)
|
||||
node, err := f.ToNode(false, t.Logf)
|
||||
rtest.OK(t, err)
|
||||
rtest.OK(t, f.Close())
|
||||
return node
|
||||
|
||||
Reference in new issue
Block a user