From a9a2007cf58dadd5985a0b01d5e9bea9c81922f3 Mon Sep 17 00:00:00 2001 From: heartlock <21521209@zju.edu.cn> Date: Wed, 21 Sep 2016 22:11:24 -0700 Subject: [PATCH] compile passed Signed-off-by: heartlock <21521209@zju.edu.cn> --- pkg/types/types.pb.go | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/pkg/types/types.pb.go b/pkg/types/types.pb.go index c9bf12a..fd3961c 100644 --- a/pkg/types/types.pb.go +++ b/pkg/types/types.pb.go @@ -442,7 +442,6 @@ var _ grpc.ClientConn type NetworksClient interface { Active(ctx context.Context, in *ActiveRequest, opts ...grpc.CallOption) (*ActivateResponse, error) - CheckTenantID(ctx context.Context, in *CheckTenantIDRequest, opts ...grpc.CallOption) (*CheckTenantIDResponse, error) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CommonResponse, error) UpdateNetwork(ctx context.Context, in *UpdateNetworkRequest, opts ...grpc.CallOption) (*CommonResponse, error) @@ -466,15 +465,6 @@ func (c *networksClient) Active(ctx context.Context, in *ActiveRequest, opts ... return out, nil } -func (c *networksClient) CheckTenantID(ctx context.Context, in *CheckTenantIDRequest, opts ...grpc.CallOption) (*CheckTenantIDResponse, error) { - out := new(CheckTenantIDResponse) - err := grpc.Invoke(ctx, "/types.Networks/CheckTenantID", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *networksClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) { out := new(GetNetworkResponse) err := grpc.Invoke(ctx, "/types.Networks/GetNetwork", in, out, c.cc, opts...) @@ -515,7 +505,6 @@ func (c *networksClient) DeleteNetwork(ctx context.Context, in *DeleteNetworkReq type NetworksServer interface { Active(context.Context, *ActiveRequest) (*ActivateResponse, error) - CheckTenantID(context.Context, *CheckTenantIDRequest) (*CheckTenantIDResponse, error) GetNetwork(context.Context, *GetNetworkRequest) (*GetNetworkResponse, error) CreateNetwork(context.Context, *CreateNetworkRequest) (*CommonResponse, error) UpdateNetwork(context.Context, *UpdateNetworkRequest) (*CommonResponse, error) @@ -538,18 +527,6 @@ func _Networks_Active_Handler(srv interface{}, ctx context.Context, dec func(int return out, nil } -func _Networks_CheckTenantID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) { - in := new(CheckTenantIDRequest) - if err := dec(in); err != nil { - return nil, err - } - out, err := srv.(NetworksServer).CheckTenantID(ctx, in) - if err != nil { - return nil, err - } - return out, nil -} - func _Networks_GetNetwork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error) { in := new(GetNetworkRequest) if err := dec(in); err != nil { @@ -606,10 +583,6 @@ var _Networks_serviceDesc = grpc.ServiceDesc{ MethodName: "Active", Handler: _Networks_Active_Handler, }, - { - MethodName: "CheckTenantID", - Handler: _Networks_CheckTenantID_Handler, - }, { MethodName: "GetNetwork", Handler: _Networks_GetNetwork_Handler,