remove pb ecode

pull/113/head
wei cheng 6 years ago
parent 6d2a0f4b3f
commit 5d95b333f1
No known key found for this signature in database
GPG Key ID: 5AF7E34E6A971D7F
  1. 0
      pkg/net/rpc/warden/internal/pb/ecode.go
  2. 0
      pkg/net/rpc/warden/internal/pb/ecode.pb.go
  3. 0
      pkg/net/rpc/warden/internal/pb/ecode.proto
  4. 2
      pkg/net/rpc/warden/internal/status/status.go
  5. 2
      pkg/net/rpc/warden/internal/status/status_test.go

@ -11,7 +11,7 @@ import (
"google.golang.org/grpc/status"
"github.com/bilibili/kratos/pkg/ecode"
"github.com/bilibili/kratos/pkg/ecode/pb"
"github.com/bilibili/kratos/pkg/net/rpc/warden/internal/pb"
)
// togRPCCode convert ecode.Codo to gRPC code

@ -15,7 +15,7 @@ import (
"google.golang.org/grpc/status"
"github.com/bilibili/kratos/pkg/ecode"
"github.com/bilibili/kratos/pkg/ecode/pb"
"github.com/bilibili/kratos/pkg/net/rpc/warden/internal/pb"
)
func TestCodeConvert(t *testing.T) {

Loading…
Cancel
Save