Skip to content

Commit 85cdb55

Browse files
committed
remove unused vars
1 parent cfb8bc5 commit 85cdb55

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/controller/nginx/config/base_http_config.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ type AccessLog struct {
1919
type httpConfig struct {
2020
DNSResolver *dataplane.DNSResolverConfig
2121
AccessLog *AccessLog
22-
DefaultAccessLogPath string
23-
DefaultLogFormatName string
2422
Includes []shared.Include
2523
NginxReadinessProbePort int32
2624
IPFamily shared.IPFamily

internal/controller/state/dataplane/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ func convertAddresses(addresses []ngfAPIv1alpha2.RewriteClientIPAddress) []strin
12111211
}
12121212

12131213
// buildLogging converts the API logging spec (currently singular LogFormat / AccessLog fields
1214-
// in v1alpha2) into internal slice-based representation used by templates.
1214+
// in v1alpha2) into internal representation used by templates.
12151215
func buildLogging(gateway *graph.Gateway) Logging {
12161216
logSettings := Logging{ErrorLevel: defaultErrorLogLevel}
12171217

0 commit comments

Comments
 (0)