Adding iodine to donutObjectWriter.Write
This commit is contained in:
parent
bfbb97c98f
commit
31746fdeb2
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue