mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Vendor swarmkit
Update swarmkit to deec7ba2c4ef48f20ebe9674afbcced606a5339e, from the master branch. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
24ffa2fa77
commit
7375507eea
26 changed files with 277 additions and 157 deletions
9
vendor/github.com/docker/swarmkit/log/grpc.go
generated
vendored
9
vendor/github.com/docker/swarmkit/log/grpc.go
generated
vendored
|
|
@ -1,8 +1,13 @@
|
|||
package log
|
||||
|
||||
import "google.golang.org/grpc/grpclog"
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
"google.golang.org/grpc/grpclog"
|
||||
)
|
||||
|
||||
func init() {
|
||||
ctx := WithModule(context.Background(), "grpc")
|
||||
|
||||
// completely replace the grpc logger with the logrus logger.
|
||||
grpclog.SetLogger(L)
|
||||
grpclog.SetLogger(G(ctx))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue