ziti edge client in sdk package (#128)

This commit is contained in:
Michael Quigley
2023-03-07 14:31:39 -05:00
parent df4c52aae5
commit 3a0c06f54d
15 changed files with 62 additions and 33 deletions

View File

@ -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()