Skip to content

Commit 4a5ad56

Browse files
authored
Merge pull request #181 from runkecheng/fix_bug
syncer: fix the auditLog container #179
2 parents 0c427a1 + 35dc336 commit 4a5ad56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/syncer/statefulset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ func (s *StatefulSetSyncer) ensurePodSpec() corev1.PodSpec {
402402
if s.Spec.PodSpec.SlowLogTail {
403403
containers = append(containers, container.EnsureContainer(utils.ContainerSlowLogName, s.Cluster))
404404
}
405-
if s.Spec.PodSpec.SlowLogTail {
405+
if s.Spec.PodSpec.AuditLogTail {
406406
containers = append(containers, container.EnsureContainer(utils.ContainerAuditLogName, s.Cluster))
407407
}
408408

0 commit comments

Comments
 (0)