Skip to content

Commit

Permalink
adjust the location of the log
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchenglong01 authored and luckymrwang committed Oct 15, 2021
1 parent 1fed9d5 commit 2c9fe43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/speaker/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ func (c *Controller) syncSubnetRoutes() {
klog.V(5).Infof("exists routes %v", bgpExists)
toAdd, toDel := routeDiff(bgpExpected, bgpExists)
klog.V(5).Infof("toAdd routes %v", toAdd)
klog.V(5).Infof("toDel routes %v", toDel)
for _, route := range toAdd {
if err := c.addRoute(route); err != nil {
klog.Error(err)
}
}
klog.V(5).Infof("toDel routes %v", toDel)
for _, route := range toDel {
if err := c.delRoute(route); err != nil {
klog.Error(err)
Expand Down

0 comments on commit 2c9fe43

Please sign in to comment.