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

@ -66,7 +66,7 @@ func (h *accessHandler) Handle(params share.AccessParams, principal *rest_model_
return share.NewAccessInternalServerError()
}
edge, err := edgeClient()
edge, err := zrokEdgeSdk.Client(cfg.Ziti)
if err != nil {
logrus.Error(err)
return share.NewAccessInternalServerError()