File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,11 +426,11 @@ func (hpr *hostPathRules) buildServers() []VirtualServer {
426
426
}
427
427
428
428
// maxServerCount returns the maximum number of VirtualServers that can be built from the host path rules.
429
- // to calculate max # of servers we add up:
430
- // - # of hostnames
431
- // - # of https listeners - this is to account for https wildcard default servers
432
- // - default server - for every hostPathRules we generate 1 default server.
433
429
func (hpr * hostPathRules ) maxServerCount () int {
430
+ // to calculate max # of servers we add up:
431
+ // - # of hostnames
432
+ // - # of https listeners - this is to account for https wildcard default servers
433
+ // - default server - for every hostPathRules we generate 1 default server
434
434
return len (hpr .rulesPerHost ) + len (hpr .httpsListeners ) + 1
435
435
}
436
436
You can’t perform that action at this time.
0 commit comments