Skip to content

Commit

Permalink
feat: Exclude non-routable entries from the routes table
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Dec 28, 2024
1 parent 27342cd commit 3766105
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/cs_sdk/functions/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ func processSyncData(routes map[string]structs.Route) error {
logger.Info("Processing entry %s (%d/%d)", route.Uid, (idx + 1), routeCount)
url := constructRouteUrl(route, routes)

if url == "" {
continue
}

routes[uid] = structs.Route{
Uid: route.Uid,
Title: route.Title,
Expand Down

0 comments on commit 3766105

Please sign in to comment.