mirror of
https://github.com/openziti/zrok.git
synced 2025-06-30 14:30:30 +02:00
ziti edge client in sdk package (#128)
This commit is contained in:
@ -29,7 +29,7 @@ func (h *unaccessHandler) Handle(params share.UnaccessParams, principal *rest_mo
|
||||
}
|
||||
defer func() { _ = tx.Rollback() }()
|
||||
|
||||
edge, err := edgeClient()
|
||||
edge, err := zrokEdgeSdk.Client(cfg.Ziti)
|
||||
if err != nil {
|
||||
logrus.Error(err)
|
||||
return share.NewUnaccessInternalServerError()
|
||||
|
Reference in New Issue
Block a user