aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ovn4nfvk8s/ovn4nfvk8s.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ovn4nfvk8s/ovn4nfvk8s.go')
-rw-r--r--cmd/ovn4nfvk8s/ovn4nfvk8s.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/ovn4nfvk8s/ovn4nfvk8s.go b/cmd/ovn4nfvk8s/ovn4nfvk8s.go
index 0c0cc2e..607b07f 100644
--- a/cmd/ovn4nfvk8s/ovn4nfvk8s.go
+++ b/cmd/ovn4nfvk8s/ovn4nfvk8s.go
@@ -15,7 +15,6 @@ import (
"ovn4nfv-k8s-plugin/internal/pkg/config"
"ovn4nfv-k8s-plugin/internal/pkg/factory"
"ovn4nfv-k8s-plugin/internal/pkg/ovn"
- "ovn4nfv-k8s-plugin/internal/pkg/util"
)
func main() {
@@ -95,7 +94,7 @@ func runOvnKube(ctx *cli.Context) error {
}
}
- if err = util.SetExec(exec); err != nil {
+ if err = ovn.SetExec(exec); err != nil {
logrus.Errorf("Failed to initialize exec helper: %v", err)
return err
}
@@ -106,7 +105,7 @@ func runOvnKube(ctx *cli.Context) error {
}
// Create distributed router and gateway for the deployment
- err = ovn.SetupMaster("ovn4nfv-master")
+ err = ovn.SetupDistributedRouter("ovn4nfv-master")
if err != nil {
logrus.Errorf(err.Error())
panic(err.Error())