feat: Updated pkg/rpcclient/auth.go

This commit is contained in:
sweep-ai[bot] 2023-10-14 08:16:59 +00:00 committed by GitHub
parent f348faf567
commit e7daec0f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,8 @@ func NewAuth(discov discoveryregistry.SvcDiscoveryRegistry) *Auth {
if err != nil {
panic(err)
}
client := auth.NewAuthClient(conn)
return &Auth{discov: discov, conn: conn, Client: client}
client := auth.NewAuthClient(conn.(dubbo-go.ClientConnInterface))
return &Auth{discov: discov, conn: conn.(dubbo-go.ClientConnInterface), Client: client}
}
type Auth struct {