remove field defaultns from struct Client

Signed-off-by: Allen Sun <shlallen1990@gmail.com>
This commit is contained in:
Allen Sun 2017-09-28 19:59:36 +08:00
parent 709d34f882
commit fd44a3aec4

View File

@ -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