fix: pass endpoint entity instead of endpoint.id (#8407)

pull/8411/head
Oscar Zhou 2 years ago committed by GitHub
parent 9d103ffbeb
commit 34298d96c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,7 +75,7 @@ func (handler *Handler) edgeJobTasksCollect(w http.ResponseWriter, r *http.Reque
return httperror.BadRequest("Async Edge Endpoints are not supported in Portainer CE", nil)
}
handler.ReverseTunnelService.AddEdgeJob(endpointID, edgeJob)
handler.ReverseTunnelService.AddEdgeJob(endpoint, edgeJob)
return response.Empty(w)
}

Loading…
Cancel
Save