Skip to content

Commit e3924e0

Browse files
authored
fix: correct spelling of "deleting" in log messages (#5944)
Fix spelling error in pod deletion log messages. Signed-off-by: Huagong Wang <wanghuagong@kylinos.cn>
1 parent 8d271eb commit e3924e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/controller/pod.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ func (c *Controller) getPodDefaultSubnet(pod *v1.Pod) (*kubeovnv1.Subnet, error)
16381638
klog.Errorf("failed to get subnet %s: %v", lsName, err)
16391639
if k8serrors.IsNotFound(err) {
16401640
if ignoreSubnetNotExist {
1641-
klog.Errorf("deletting pod %s/%s default subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, lsName)
1641+
klog.Errorf("deleting pod %s/%s default subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, lsName)
16421642
return nil, nil
16431643
}
16441644
}
@@ -1670,7 +1670,7 @@ func (c *Controller) getPodDefaultSubnet(pod *v1.Pod) (*kubeovnv1.Subnet, error)
16701670
klog.Errorf("failed to get subnet %s: %v", subnetName, err)
16711671
if k8serrors.IsNotFound(err) {
16721672
if ignoreSubnetNotExist {
1673-
klog.Errorf("deletting pod %s/%s namespace subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
1673+
klog.Errorf("deleting pod %s/%s namespace subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
16741674
// ip name is unique, it is ok if any subnet release it
16751675
// gc will handle their ip cr, if all subnets are not exist
16761676
continue
@@ -1862,7 +1862,7 @@ func (c *Controller) getPodAttachmentNet(pod *v1.Pod) ([]*kubeovnNet, error) {
18621862
klog.Errorf("failed to pod default subnet, %v", err)
18631863
if k8serrors.IsNotFound(err) {
18641864
if ignoreSubnetNotExist {
1865-
klog.Errorf("deletting pod %s/%s attach subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
1865+
klog.Errorf("deleting pod %s/%s attach subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
18661866
continue
18671867
}
18681868
}
@@ -1876,7 +1876,7 @@ func (c *Controller) getPodAttachmentNet(pod *v1.Pod) ([]*kubeovnNet, error) {
18761876
klog.Errorf("failed to get subnet %s, %v", subnetName, err)
18771877
if k8serrors.IsNotFound(err) {
18781878
if ignoreSubnetNotExist {
1879-
klog.Errorf("deletting pod %s/%s attach subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
1879+
klog.Errorf("deleting pod %s/%s attach subnet %s already not exist, gc will clean its ip cr", pod.Namespace, pod.Name, subnetName)
18801880
// just continue to next attach subnet
18811881
// ip name is unique, so it is ok if the other subnet release it
18821882
continue

0 commit comments

Comments
 (0)