Use unix-socket as communication channel
Signed-off-by: Alexander Morozov <lk4d4@docker.com> Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Conflicts: ctr/container.go
This commit is contained in:
committed by
Michael Crosby
parent
e16dfc36a5
commit
ca4191ce41
@@ -14,7 +14,7 @@ var EventsCommand = cli.Command{
|
||||
Name: "events",
|
||||
Usage: "receive events from the containerd daemon",
|
||||
Action: func(context *cli.Context) {
|
||||
c := getClient()
|
||||
c := getClient(context)
|
||||
events, err := c.Events(netcontext.Background(), &types.EventsRequest{})
|
||||
if err != nil {
|
||||
fatal(err.Error(), 1)
|
||||
|
||||
Reference in New Issue
Block a user