From f628647dd558d9dfb64ceebb10fff6e64b343663 Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Thu, 23 Mar 2023 16:47:38 -0400 Subject: [PATCH] Update for fabric api change --- ziti/router/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ziti/router/run.go b/ziti/router/run.go index 1f1e9fd8a..4d623469d 100644 --- a/ziti/router/run.go +++ b/ziti/router/run.go @@ -84,7 +84,7 @@ func run(cmd *cobra.Command, args []string) { xgressEdgeTransportFactory := xgress_edge_transport.NewFactory() xgress.GlobalRegistry().Register(xgress_edge_transport.BindingName, xgressEdgeTransportFactory) - xgressEdgeTunnelFactory := xgress_edge_tunnel.NewFactory(config, stateManager, r.GetMetricsRegistry()) + xgressEdgeTunnelFactory := xgress_edge_tunnel.NewFactory(r, config, stateManager) xgress.GlobalRegistry().Register(edge_common.TunnelBinding, xgressEdgeTunnelFactory) if err := r.RegisterXrctrl(xgressEdgeTunnelFactory); err != nil { logrus.WithError(err).Panic("error registering edge tunnel in framework")