Skip to content

Commit

Permalink
Fix TcpProxyValidationError for accesslog service (#28956)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunzhaochang committed Nov 19, 2020
1 parent 3832d4d commit 8846443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/pkg/networking/core/v1alpha3/accesslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func buildTCPGrpcAccessLog(isListener bool) *accesslog.AccessLog {
},
}

filter := &accesslog.AccessLogFilter{}
var filter *accesslog.AccessLogFilter
if isListener {
filter = addAccessLogFiler()
}
Expand Down

0 comments on commit 8846443

Please sign in to comment.