mirror of
https://github.com/openziti/zrok.git
synced 2025-08-17 03:11:17 +02:00
bugs, lint, testing (#967)
This commit is contained in:
@ -63,7 +63,7 @@ func (h *agentEnrollHandler) Handle(params agent.EnrollParams, principal *rest_m
|
||||
return agent.NewEnrollInternalServerError()
|
||||
}
|
||||
|
||||
if err := zrokEdgeSdk.CreateShareServiceEdgeRouterPolicy(env.ZId, token, zId, client); err != nil {
|
||||
if err := zrokEdgeSdk.CreateAgentRemoteServiceEdgeRouterPolicy(env.ZId, token, zId, client); err != nil {
|
||||
logrus.Errorf("error creating agent remoting serp for '%v' (%v): %v", env.ZId, principal.Email, err)
|
||||
return agent.NewEnrollInternalServerError()
|
||||
}
|
||||
|
Reference in New Issue
Block a user