This repository was archived by the owner on May 12, 2021. It is now read-only.
Commit 5936600
committed
grpc: grpc.Code is deprecated
To fix:
grpc.go:759:39:warning: grpc.Code is deprecated: use status.FromError and Code method instead. (SA1019) (staticcheck)
Signed-off-by: Peng Tao <bergwolf@gmail.com>1 parent a6e27d6 commit 5936600
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
759 | | - | |
| 758 | + | |
760 | 759 | | |
761 | 760 | | |
762 | 761 | | |
| |||
0 commit comments