Merge pull request #8041 from unclejack/lower_allocations_broadcastwriter

lower the number of allocations in broadcastwriter
This commit is contained in:
Michael Crosby
2014-09-17 15:26:44 -07:00
9 changed files with 223 additions and 21 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/docker/docker/utils"
"github.com/docker/docker/pkg/timeutils"
)
// This used to work, it test a log of PageSize-1 (gh#4851)
@@ -104,7 +104,7 @@ func TestLogsTimestamps(t *testing.T) {
for _, l := range lines {
if l != "" {
_, err := time.Parse(utils.RFC3339NanoFixed+" ", ts.FindString(l))
_, err := time.Parse(timeutils.RFC3339NanoFixed+" ", ts.FindString(l))
if err != nil {
t.Fatalf("Failed to parse timestamp from %v: %v", l, err)
}