mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update imports for logrus version
Add forks for changes which only make logrus change without functional change. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
parent
1009e6a40b
commit
4f3616fb1c
167 changed files with 915 additions and 516 deletions
4
vendor/github.com/docker/go-events/broadcast.go
generated
vendored
4
vendor/github.com/docker/go-events/broadcast.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// Broadcaster sends events to multiple, reliable Sinks. The goal of this
|
||||
|
@ -160,7 +160,7 @@ func (b *Broadcaster) run() {
|
|||
}
|
||||
}
|
||||
|
||||
func (b Broadcaster) String() string {
|
||||
func (b *Broadcaster) String() string {
|
||||
// Serialize copy of this broadcaster without the sync.Once, to avoid
|
||||
// a data race.
|
||||
|
||||
|
|
2
vendor/github.com/docker/go-events/channel.go
generated
vendored
2
vendor/github.com/docker/go-events/channel.go
generated
vendored
|
@ -50,7 +50,7 @@ func (ch *Channel) Close() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (ch Channel) String() string {
|
||||
func (ch *Channel) String() string {
|
||||
// Serialize a copy of the Channel that doesn't contain the sync.Once,
|
||||
// to avoid a data race.
|
||||
ch2 := map[string]interface{}{
|
||||
|
|
4
vendor/github.com/docker/go-events/queue.go
generated
vendored
4
vendor/github.com/docker/go-events/queue.go
generated
vendored
|
@ -4,7 +4,7 @@ import (
|
|||
"container/list"
|
||||
"sync"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// Queue accepts all messages into a queue for asynchronous consumption
|
||||
|
@ -31,7 +31,7 @@ func NewQueue(dst Sink) *Queue {
|
|||
}
|
||||
|
||||
// Write accepts the events into the queue, only failing if the queue has
|
||||
// beend closed.
|
||||
// been closed.
|
||||
func (eq *Queue) Write(event Event) error {
|
||||
eq.mu.Lock()
|
||||
defer eq.mu.Unlock()
|
||||
|
|
4
vendor/github.com/docker/go-events/retry.go
generated
vendored
4
vendor/github.com/docker/go-events/retry.go
generated
vendored
|
@ -7,7 +7,7 @@ import (
|
|||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// RetryingSink retries the write until success or an ErrSinkClosed is
|
||||
|
@ -90,7 +90,7 @@ func (rs *RetryingSink) Close() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (rs RetryingSink) String() string {
|
||||
func (rs *RetryingSink) String() string {
|
||||
// Serialize a copy of the RetryingSink without the sync.Once, to avoid
|
||||
// a data race.
|
||||
rs2 := map[string]interface{}{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue