Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
sorting after getting all apis
  • Loading branch information
Akshay2191 committed Nov 3, 2025
commit 2a449d06dfa36f14310edb86b2a5cc1abc4af9a2
4 changes: 2 additions & 2 deletions internal/datasource/config/nginx_config_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ func (ncp *NginxConfigParser) createNginxConfigContext(
nginxConfigContext.PlusAPIs = append(nginxConfigContext.PlusAPIs, plusAPIs...)
}

nginxConfigContext.PlusAPIs = ncp.sortPlusAPIs(ctx, nginxConfigContext.PlusAPIs)

if len(napSyslogServersFound) > 0 {
var napSyslogServer []string
for server := range napSyslogServersFound {
Expand All @@ -281,6 +279,8 @@ func (ncp *NginxConfigParser) createNginxConfigContext(
}
}

nginxConfigContext.PlusAPIs = ncp.sortPlusAPIs(ctx, nginxConfigContext.PlusAPIs)

nginxConfigContext.StubStatus = ncp.FindStubStatusAPI(ctx, nginxConfigContext)
nginxConfigContext.PlusAPI = ncp.FindPlusAPI(ctx, nginxConfigContext)

Expand Down
Loading