feat: Updated pkg/rpcclient/conversation.go

pull/1227/head
sweep-ai[bot] 2 years ago committed by GitHub
parent e7daec0f48
commit fd729450a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,8 +38,8 @@ func NewConversation(discov discoveryregistry.SvcDiscoveryRegistry) *Conversatio
if err != nil { if err != nil {
panic(err) panic(err)
} }
client := pbconversation.NewConversationClient(conn) client := pbconversation.NewConversationClient(conn.(dubbo-go.ClientConnInterface))
return &Conversation{discov: discov, conn: conn, Client: client} return &Conversation{discov: discov, conn: conn.(dubbo-go.ClientConnInterface), Client: client}
} }
type ConversationRpcClient Conversation type ConversationRpcClient Conversation

Loading…
Cancel
Save