Update for fabric api change

This commit is contained in:
Paul Lorenz
2023-03-23 16:47:38 -04:00
parent 77edaf8652
commit f628647dd5
+1 -1
View File
@@ -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")