From fb85fc236268c78d0ac176c23763b9ddcdcf4327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Sterba?= <andre.sterba@stud.h-da.de> Date: Thu, 2 Jun 2022 14:08:15 +0200 Subject: [PATCH] WIP --- controller/northbound/server/topology.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/northbound/server/topology.go b/controller/northbound/server/topology.go index 5bd698547..bd4acf26a 100644 --- a/controller/northbound/server/topology.go +++ b/controller/northbound/server/topology.go @@ -47,7 +47,7 @@ func (t Topology) AddLink(ctx context.Context, request *apb.AddLinkRequest) (*ap TargetNode: targetNode, TargetPort: targetPort, } - err = topologyService.AddLink(link) + err = t.topologyService.AddLink(link) if err != nil { return nil, status.Errorf(codes.Aborted, "%v", err) } @@ -60,7 +60,7 @@ func (t Topology) AddLink(ctx context.Context, request *apb.AddLinkRequest) (*ap // GetTopology returns the current topology in the form of all links func (t Topology) GetTopology(ctx context.Context, request *apb.GetTopologyRequest) (*apb.GetTopologyResponse, error) { - topo, err := topologyService.GetAll() + topo, err := t.topologyService.GetAll() if err != nil { return nil, status.Errorf(codes.Aborted, "%v", err) } -- GitLab