Skip to content

Commit f0ceea0

Browse files
authored
fix typo in patch (#753)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
1 parent 65fdf19 commit f0ceea0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patch/istio/1.21/20240410-embed-htnn-controller-go-code.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ index 0000000..f5ab33c
703703
+ }
704704
+}
705705
+
706-
+func (c *Controller) notifySeviceEntryChange(prev, curr config.Config, event model.Event) {
706+
+func (c *Controller) notifyServiceEntryChange(prev, curr config.Config, event model.Event) {
707707
+ log.Debugf("notify ServiceEntry change event %s, name: %s, namespace: %s",
708708
+ event, curr.Name, curr.Namespace)
709709
+
@@ -719,16 +719,16 @@ index 0000000..f5ab33c
719719
+ for name, entry := range c.prevServiceEntries {
720720
+ if curr, ok := c.serviceEntries[name]; !ok {
721721
+ // Deleted ServiceEntry should be passed as the 'curr' ServiceEntry
722-
+ c.notifySeviceEntryChange(config.Config{}, *entry, model.EventDelete)
722+
+ c.notifyServiceEntryChange(config.Config{}, *entry, model.EventDelete)
723723
+ } else {
724724
+ // Let the serviceEntryHandler to diff them
725-
+ c.notifySeviceEntryChange(*entry, *curr, model.EventUpdate)
725+
+ c.notifyServiceEntryChange(*entry, *curr, model.EventUpdate)
726726
+ }
727727
+ }
728728
+
729729
+ for name, entry := range c.serviceEntries {
730730
+ if _, ok := c.prevServiceEntries[name]; !ok {
731-
+ c.notifySeviceEntryChange(config.Config{}, *entry, model.EventAdd)
731+
+ c.notifyServiceEntryChange(config.Config{}, *entry, model.EventAdd)
732732
+ }
733733
+ }
734734
+}

0 commit comments

Comments
 (0)