Removing log tracers

master
Frederick F. Kautz IV 10 years ago
parent 4433142813
commit 55f3659bb3
  1. 2
      pkg/storage/donut/donutdriver.go
  2. 2
      pkg/storage/donut/donutdriver_test.go

@ -6,7 +6,6 @@ import (
"errors"
"io"
"io/ioutil"
"log"
"os"
"path"
"sort"
@ -162,7 +161,6 @@ func erasureReader(readers []io.ReadCloser, donutMetadata map[string]string, wri
if blockSize < totalLeft {
curBlockSize = blockSize
}
log.Println("decoding block size", curBlockSize)
decodedData, err := encoder.Decode(encodedBytes, curBlockSize)
if err != nil {
writer.CloseWithError(err)

@ -7,7 +7,6 @@ import (
. "gopkg.in/check.v1"
"io"
"io/ioutil"
"log"
"os"
)
@ -163,7 +162,6 @@ func (s *MySuite) TestNewObjectCanBeWritten(c *C) {
actualMetadata, err := donut.GetObjectMetadata("foo", "obj")
c.Assert(err, IsNil)
log.Println(actualMetadata)
c.Assert(actualMetadata, DeepEquals, expectedMetadata)
}

Loading…
Cancel
Save