Adding iodine to donutObjectWriter.Write

This commit is contained in:
Frederick F. Kautz IV 2015-03-26 10:49:03 -07:00
parent bfbb97c98f
commit 31746fdeb2
1 changed files with 1 additions and 2 deletions

View File

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