Adding iodine to donutObjectWriter.Write

master
Frederick F. Kautz IV 10 years ago
parent bfbb97c98f
commit 31746fdeb2
  1. 3
      pkg/storage/donut/object_writer.go

@ -31,8 +31,7 @@ type donutObjectWriter struct {
func (d donutObjectWriter) Write(data []byte) (int, error) {
written, err := d.file.Write(data)
iodine.Error(err, nil)
return written, err
return written, iodine.Error(err, nil)
}
func (d donutObjectWriter) Close() error {

Loading…
Cancel
Save