Skip to content

Commit

Permalink
Adds paths information in 3.4.x compatibility error
Browse files Browse the repository at this point in the history
  • Loading branch information
khaikong committed Nov 29, 2024
1 parent d53b0d3 commit fa3b03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/file/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ func (b *stateBuilder) routes() {
}
for _, r := range allRoutes {
if utils.HasPathsWithRegex300AndAbove(r.Route) {
unsupportedRoutes = append(unsupportedRoutes, *r.Route.ID)
unsupportedRoutes = append(unsupportedRoutes, *r.Route.ID + " paths:" + *r.Route.Paths[0])
}
}
if len(unsupportedRoutes) > 0 {
Expand Down

0 comments on commit fa3b03b

Please sign in to comment.