Skip to content

Commit c742c09

Browse files
committed
Fix build
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
1 parent 88e7db2 commit c742c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/telemetry/accesslog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (l *logInfo) withDestinationService(service *workloadapi.Service) *logInfo
7979

8080
func outputAccesslog(data requestMetric, connMetrics connMetric, accesslog logInfo) {
8181
// Skip output access log on connection establishment
82-
if data.state == TCP_ESTABLISHED && conn_metrics.totalReports == 1 {
82+
if data.state == TCP_ESTABLISHED && connMetrics.totalReports == 1 {
8383
return
8484
}
8585
logStr := buildAccesslog(data, connMetrics, accesslog)

0 commit comments

Comments
 (0)