aboutsummaryrefslogtreecommitdiffstats
path: root/src/ovnaction
diff options
context:
space:
mode:
Diffstat (limited to 'src/ovnaction')
-rw-r--r--src/ovnaction/cmd/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ovnaction/cmd/main.go b/src/ovnaction/cmd/main.go
index 9e791cd1..a6b34923 100644
--- a/src/ovnaction/cmd/main.go
+++ b/src/ovnaction/cmd/main.go
@@ -50,9 +50,9 @@ func startGrpcServer() error {
certFile := config.GetConfiguration().GrpcServerCert
keyFile := config.GetConfiguration().GrpcServerKey
- host, port := register.GetServerHostPort()
+ _, port := register.GetServerHostPort()
- lis, err := net.Listen("tcp", fmt.Sprintf("%s:%d", host, port))
+ lis, err := net.Listen("tcp", fmt.Sprintf(":%d", port))
if err != nil {
log.Fatalf("Could not listen to port: %v", err)
}