From 3d966bff9cb766a6a9d4ced664dc41fd0ec7b8d0 Mon Sep 17 00:00:00 2001 From: hzma Date: Tue, 16 Aug 2022 19:00:25 +0800 Subject: [PATCH] update version to v1.8.10 (#1819) --- VERSION | 2 +- dist/images/install.sh | 2 +- pkg/controller/pod.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 300d3584e28..ceec923227f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.8.9 +v1.8.10 diff --git a/dist/images/install.sh b/dist/images/install.sh index c06815be07b..c6a70378a57 100755 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -19,7 +19,7 @@ CNI_CONF_DIR="/etc/cni/net.d" CNI_BIN_DIR="/opt/cni/bin" REGISTRY="kubeovn" -VERSION="v1.8.9" +VERSION="v1.8.10" IMAGE_PULL_POLICY="IfNotPresent" POD_CIDR="10.16.0.0/16" # Do NOT overlap with NODE/SVC/JOIN CIDR POD_GATEWAY="10.16.0.1" diff --git a/pkg/controller/pod.go b/pkg/controller/pod.go index 7ca5e3d4d44..e7f3d12854a 100644 --- a/pkg/controller/pod.go +++ b/pkg/controller/pod.go @@ -583,7 +583,7 @@ func (c *Controller) handleDeletePod(pod *v1.Pod) error { } } - ports, err := c.ovnClient.ListPodLogicalSwitchPorts(pod.Name, pod.Namespace) + ports, err := c.ovnClient.ListPodLogicalSwitchPorts(podName, pod.Namespace) if err != nil { klog.Errorf("failed to list lsps of pod '%s', %v", pod.Name, err) return err