Skip to content

Commit

Permalink
Skip local Gateway after 1.29.3
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Dufour <[email protected]>
  • Loading branch information
outscale-mdr authored and jerome-jutteau committed Apr 24, 2024
1 parent f2d7b57 commit 4217796
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/network/networkview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ async function retrieveData(): Promise<CytoscapeNode[] | string | undefined> {
if (typeof route.gatewayId !== 'undefined') {
const gatewayId = route.gatewayId;
rtEl.forEach((rtId) => {
// Skip the local gateway
if (gatewayId === "local") {
return;
}
data.push({
data: {
id: 'routes' + rtId + route.gatewayId,
Expand Down

0 comments on commit 4217796

Please sign in to comment.