Skip to content

Commit

Permalink
Merge pull request #181 from runkecheng/fix_bug
Browse files Browse the repository at this point in the history
syncer: fix the auditLog container #179
  • Loading branch information
andyli029 authored Aug 10, 2021
2 parents 0c427a1 + 35dc336 commit 4a5ad56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/syncer/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 4a5ad56

Please sign in to comment.