Merge pull request #338 from fkautz/pr_out_removing_log_tracers

master
Frederick F. Kautz IV 10 years ago
commit 38bfc7a949
  1. 2
      pkg/storage/donut/donutdriver.go
  2. 2
      pkg/storage/donut/donutdriver_test.go

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

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

Loading…
Cancel
Save