From 55f3659bb3a2f5eefa977e07dd85445f4aec1bf2 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sun, 22 Mar 2015 15:39:46 -0700 Subject: [PATCH] Removing log tracers --- pkg/storage/donut/donutdriver.go | 2 -- pkg/storage/donut/donutdriver_test.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkg/storage/donut/donutdriver.go b/pkg/storage/donut/donutdriver.go index ade871809..798dca56a 100644 --- a/pkg/storage/donut/donutdriver.go +++ b/pkg/storage/donut/donutdriver.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) diff --git a/pkg/storage/donut/donutdriver_test.go b/pkg/storage/donut/donutdriver_test.go index 9ca7973ac..ed6e10c27 100644 --- a/pkg/storage/donut/donutdriver_test.go +++ b/pkg/storage/donut/donutdriver_test.go @@ -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) }