@@ -218,7 +218,7 @@ func buildServers(g *graph.Graph, generator policies.ConfigGenerator) (http, ssl
218
218
rulesForProtocol [l .Source .Protocol ][l .Source .Port ] = rules
219
219
}
220
220
221
- rules .upsertListener (l , g .GlobalPolicySettings )
221
+ rules .upsertListener (l , g .GlobalSettings )
222
222
}
223
223
}
224
224
@@ -227,7 +227,7 @@ func buildServers(g *graph.Graph, generator policies.ConfigGenerator) (http, ssl
227
227
228
228
httpServers , sslServers := httpRules .buildServers (), sslRules .buildServers ()
229
229
230
- additions := buildAdditions (g .Gateway .Policies , g .GlobalPolicySettings , generator )
230
+ additions := buildAdditions (g .Gateway .Policies , g .GlobalSettings , generator )
231
231
232
232
for i := range httpServers {
233
233
httpServers [i ].Additions = additions
@@ -281,7 +281,7 @@ func newHostPathRules(generator policies.ConfigGenerator) *hostPathRules {
281
281
}
282
282
}
283
283
284
- func (hpr * hostPathRules ) upsertListener (l * graph.Listener , globalSettings * policies.GlobalPolicySettings ) {
284
+ func (hpr * hostPathRules ) upsertListener (l * graph.Listener , globalSettings * policies.GlobalSettings ) {
285
285
hpr .listenersExist = true
286
286
hpr .port = int32 (l .Source .Port )
287
287
@@ -301,7 +301,7 @@ func (hpr *hostPathRules) upsertListener(l *graph.Listener, globalSettings *poli
301
301
func (hpr * hostPathRules ) upsertRoute (
302
302
route * graph.L7Route ,
303
303
listener * graph.Listener ,
304
- globalSettings * policies.GlobalPolicySettings ,
304
+ globalSettings * policies.GlobalSettings ,
305
305
) {
306
306
var hostnames []string
307
307
GRPC := route .RouteType == graph .RouteTypeGRPC
@@ -674,7 +674,7 @@ func buildBaseHTTPConfig(g *graph.Graph) BaseHTTPConfig {
674
674
675
675
func buildAdditions (
676
676
policies []* graph.Policy ,
677
- globalSettings * policies.GlobalPolicySettings ,
677
+ globalSettings * policies.GlobalSettings ,
678
678
generator policies.ConfigGenerator ,
679
679
) []Addition {
680
680
if len (policies ) == 0 {
0 commit comments