Commit ff6bf6fa authored by hzma's avatar hzma
Browse files

update check for delete statefulset pod

parent 5acf9586
Showing with 1 addition and 1 deletion
+1 -1
......@@ -816,7 +816,7 @@ func isStatefulSetPodToDel(c kubernetes.Interface, pod *v1.Pod, statefulSetName
return false
}
return index >= int64(*ss.Spec.Replicas) && index >= int64(ss.Status.Replicas)
return index >= int64(*ss.Spec.Replicas)
}
func getNodeTunlIP(node *v1.Node) ([]net.IP, error) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment