diff --git a/pkg/daemon/gateway.go b/pkg/daemon/gateway.go index 9333a8aeac3..8a92119b360 100644 --- a/pkg/daemon/gateway.go +++ b/pkg/daemon/gateway.go @@ -2,7 +2,6 @@ package daemon import ( "fmt" - "os/exec" "sort" "strings" @@ -70,10 +69,6 @@ func (c *Controller) setICGateway() error { if _, err := ovs.Exec("set", "open", ".", "external_ids:ovn-is-interconn=true"); err != nil { return fmt.Errorf("failed to enable ic gateway, %w", err) } - output, err := exec.Command("/usr/share/ovn/scripts/ovn-ctl", "restart_controller").CombinedOutput() - if err != nil { - return fmt.Errorf("failed to restart ovn-controller, %w, %q", err, output) - } } } else { if _, err := ovs.Exec("set", "open", ".", "external_ids:ovn-is-interconn=false"); err != nil {