@@ -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