1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-29 05:41:02 +02:00

adjust error log

This commit is contained in:
Chris Lu 2021-11-28 22:06:17 -08:00
parent cf1586a34d
commit ad16221a35

View file

@ -169,7 +169,9 @@ func retriedWriteFile(client remote_storage.RemoteStorageClient, filerSource *so
}
return nil
})
glog.Errorf("write to %s: %v", dest, err)
if err != nil {
glog.Errorf("write to %s: %v", dest, err)
}
return
}