Skip to content

Commit

Permalink
Merge pull request #1252 from dmcgowan/0.2.x-update-logrus
Browse files Browse the repository at this point in the history
[v0.2.x] Update logrus to v1.0.1
  • Loading branch information
crosbymichael authored Aug 1, 2017
2 parents 08888ce + 6168011 commit f6d7c16
Show file tree
Hide file tree
Showing 39 changed files with 287 additions and 153 deletions.
2 changes: 1 addition & 1 deletion api/http/pprof/pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
// net/http/pprof installs the "/debug/pprof/{block,heap,goroutine,threadcreate}" handler
_ "net/http/pprof"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)

// Enable registers the "/debug/pprof" handler
Expand Down
2 changes: 1 addition & 1 deletion containerd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd"
grpcserver "github.com/containerd/containerd/api/grpc/server"
"github.com/containerd/containerd/api/grpc/types"
Expand All @@ -25,6 +24,7 @@ import (
"github.com/cyberdelia/go-metrics-graphite"
"github.com/docker/docker/pkg/listeners"
"github.com/rcrowley/go-metrics"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)

Expand Down
2 changes: 1 addition & 1 deletion containerd/main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"runtime"
"time"

"github.com/Sirupsen/logrus"
"github.com/cloudfoundry/gosigar"
"github.com/containerd/containerd/osutils"
"github.com/rcrowley/go-metrics"
"github.com/sirupsen/logrus"
)

func processMetrics() {
Expand Down
4 changes: 2 additions & 2 deletions ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

netcontext "golang.org/x/net/context"

"github.com/Sirupsen/logrus"
"github.com/urfave/cli"
"github.com/containerd/containerd"
"github.com/containerd/containerd/api/grpc/types"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)

const usage = `High performance container daemon cli`
Expand Down
2 changes: 1 addition & 1 deletion hack/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"sync"
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/api/grpc/types"
"github.com/sirupsen/logrus"
netcontext "golang.org/x/net/context"
"google.golang.org/grpc"
)
Expand Down
2 changes: 1 addition & 1 deletion runtime/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"syscall"
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/specs"
ocs "github.com/opencontainers/runtime-spec/specs-go"
"github.com/sirupsen/logrus"
"golang.org/x/net/context"
"golang.org/x/sys/unix"
)
Expand Down
2 changes: 1 addition & 1 deletion runtime/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"syscall"
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/osutils"
"github.com/containerd/containerd/specs"
"github.com/sirupsen/logrus"
"golang.org/x/sys/unix"
)

Expand Down
2 changes: 1 addition & 1 deletion supervisor/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package supervisor
import (
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
)

// DeleteTask holds needed parameters to remove a container
Expand Down
2 changes: 1 addition & 1 deletion supervisor/exit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package supervisor
import (
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
)

// ExitTask holds needed parameters to execute the exit task
Expand Down
2 changes: 1 addition & 1 deletion supervisor/monitor_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"sync"
"syscall"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/archutils"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
)

// NewMonitor starts a new process monitor and returns it
Expand Down
2 changes: 1 addition & 1 deletion supervisor/monitor_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import (
"sync"
"unsafe"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
)

// NewMonitor starts a new process monitor and returns it
Expand Down
2 changes: 1 addition & 1 deletion supervisor/oom.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package supervisor
import (
"time"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)

// OOMTask holds needed parameters to report a container OOM
Expand Down
2 changes: 1 addition & 1 deletion supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"sync"
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion supervisor/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"sync"
"time"

"github.com/Sirupsen/logrus"
"github.com/containerd/containerd/runtime"
"github.com/sirupsen/logrus"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion vendor.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/Sirupsen/logrus v0.11.2
github.com/sirupsen/logrus v1.0.1
github.com/cloudfoundry/gosigar 3ed7c74352dae6dc00bdc8c74045375352e3ec05
github.com/urfave/cli 8ba6f23b6e36d03666a14bd9421f5e3efcb59aca
github.com/coreos/go-systemd 7b2428fec40033549c68f54e26e89e7ca9a9ce31
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/Azure/go-ansiterm/parser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 0 additions & 33 deletions vendor/github.com/Sirupsen/logrus/terminal_windows.go

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Loading

0 comments on commit f6d7c16

Please sign in to comment.