From fd44a3aec438a3d31bfc438e6f908c2b90693b1e Mon Sep 17 00:00:00 2001 From: Allen Sun Date: Thu, 28 Sep 2017 19:59:36 +0800 Subject: [PATCH] remove field defaultns from struct Client Signed-off-by: Allen Sun --- client.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client.go b/client.go index 497ebb5cd..f3e85a7b9 100644 --- a/client.go +++ b/client.go @@ -100,10 +100,8 @@ func NewWithConn(conn *grpc.ClientConn, opts ...ClientOpt) (*Client, error) { // Client is the client to interact with containerd and its various services // using a uniform interface type Client struct { - conn *grpc.ClientConn - - defaultns string - runtime string + conn *grpc.ClientConn + runtime string } // IsServing returns true if the client can successfully connect to the