Move jsonlog to a subpackage of jsonfilelog

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2017-09-25 15:57:45 -04:00
parent a06ad2792a
commit 035604cca6
9 changed files with 4 additions and 5 deletions

View file

@ -12,8 +12,8 @@ import (
"sync"
"github.com/docker/docker/daemon/logger"
"github.com/docker/docker/daemon/logger/jsonfilelog/jsonlog"
"github.com/docker/docker/daemon/logger/loggerutils"
"github.com/docker/docker/pkg/jsonlog"
units "github.com/docker/go-units"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"

View file

@ -12,7 +12,7 @@ import (
"time"
"github.com/docker/docker/daemon/logger"
"github.com/docker/docker/pkg/jsonlog"
"github.com/docker/docker/daemon/logger/jsonfilelog/jsonlog"
"github.com/gotestyourself/gotestyourself/fs"
"github.com/stretchr/testify/require"
)

View file

@ -13,9 +13,9 @@ import (
"github.com/docker/docker/api/types/backend"
"github.com/docker/docker/daemon/logger"
"github.com/docker/docker/daemon/logger/jsonfilelog/jsonlog"
"github.com/docker/docker/daemon/logger/jsonfilelog/multireader"
"github.com/docker/docker/pkg/filenotify"
"github.com/docker/docker/pkg/jsonlog"
"github.com/docker/docker/pkg/tailfile"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"

View file

@ -1,9 +1,8 @@
package jsonfilelog
import (
"testing"
"bytes"
"testing"
"time"
"github.com/docker/docker/daemon/logger"