replace TypedMessage with anypb.Any

This commit is contained in:
Shelikhoo
2021-09-04 11:13:28 +01:00
parent add375390e
commit ba2dd5995d
65 changed files with 721 additions and 859 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package command_test
import (
"context"
"google.golang.org/protobuf/types/known/anypb"
"testing"
core "github.com/v2fly/v2ray-core/v4"
@@ -17,7 +18,7 @@ import (
func TestLoggerRestart(t *testing.T) {
v, err := core.New(&core.Config{
App: []*serial.TypedMessage{
App: []*anypb.Any{
serial.ToTypedMessage(&log.Config{}),
serial.ToTypedMessage(&dispatcher.Config{}),
serial.ToTypedMessage(&proxyman.InboundConfig{}),