mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
update sysinfo to logrus
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
80d35c7fd0
commit
0a37f836ad
4 changed files with 7 additions and 4 deletions
|
@ -4,8 +4,9 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
type JSONLog struct {
|
||||
|
|
|
@ -2,9 +2,10 @@ package proxy
|
|||
|
||||
import (
|
||||
"io"
|
||||
"log"
|
||||
"net"
|
||||
"syscall"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
type TCPProxy struct {
|
||||
|
|
|
@ -2,12 +2,13 @@ package proxy
|
|||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"log"
|
||||
"net"
|
||||
"strings"
|
||||
"sync"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -2,10 +2,10 @@ package sysinfo
|
|||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/docker/libcontainer/cgroups"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue