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

@ -25,7 +25,7 @@ func (h *createFrontendHandler) Handle(params admin.CreateFrontendParams, princi
return admin.NewCreateFrontendUnauthorized()
}
client, err := edgeClient()
client, err := zrokEdgeSdk.Client(cfg.Ziti)
if err != nil {
logrus.Errorf("error getting edge client: %v", err)
return admin.NewCreateFrontendInternalServerError()