Skip to content

Commit

Permalink
Merge pull request #61 from hex108/fix
Browse files Browse the repository at this point in the history
Fix bug for force delete
  • Loading branch information
hex108 authored Nov 26, 2020
2 parents 60bd146 + c2f13a7 commit 3d5047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tapp/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ func (c *Controller) needForceDelete(tapp *tappv1.TApp, pod *corev1.Pod) bool {
}
for _, c := range node.Status.Conditions {
if c.Type == corev1.NodeReady {
return c.Status == corev1.ConditionTrue || c.Status == corev1.ConditionUnknown
return c.Status == corev1.ConditionFalse || c.Status == corev1.ConditionUnknown
}
}
}
Expand Down

0 comments on commit 3d5047c

Please # to comment.