From 35dc336880e59fc38fad2550d92dcdf02555821e Mon Sep 17 00:00:00 2001 From: runkecheng <1131648942@qq.com> Date: Tue, 10 Aug 2021 14:09:22 +0800 Subject: [PATCH] syncer: fix the auditLog container #179 --- cluster/syncer/statefulset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/syncer/statefulset.go b/cluster/syncer/statefulset.go index 512a8561..7a228e0d 100644 --- a/cluster/syncer/statefulset.go +++ b/cluster/syncer/statefulset.go @@ -402,7 +402,7 @@ func (s *StatefulSetSyncer) ensurePodSpec() corev1.PodSpec { if s.Spec.PodSpec.SlowLogTail { containers = append(containers, container.EnsureContainer(utils.ContainerSlowLogName, s.Cluster)) } - if s.Spec.PodSpec.SlowLogTail { + if s.Spec.PodSpec.AuditLogTail { containers = append(containers, container.EnsureContainer(utils.ContainerAuditLogName, s.Cluster)) }