feat: Updated pkg/rpcclient/auth.go

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

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

Loading…
Cancel
Save