Skip to content

Commit

Permalink
chore: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberchen98 committed Oct 12, 2024
1 parent 0a2d287 commit 4ec55ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/controllers/common/podset.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ func syncPodTemplate(t *SyncMOPodTask) {
if t.MutatePod != nil {
t.MutatePod(t.TargetTemplate)
}
if t.ConfigSuffix != "" {
t.TargetTemplate.ObjectMeta.Annotations[ConfigSuffixAnno] = t.ConfigSuffix
}
t.TargetTemplate.ObjectMeta.Annotations[ConfigSuffixAnno] = t.ConfigSuffix

p.Overlay.OverlayPodMeta(&t.TargetTemplate.ObjectMeta)
p.Overlay.OverlayPodSpec(specRef)
Expand Down

0 comments on commit 4ec55ce

Please sign in to comment.