Skip to content

Commit

Permalink
Merge pull request #1476 from keleustes/outofdisk
Browse files Browse the repository at this point in the history
NodeOutOfDisk condition obsolete in Kubernetes 1.16
  • Loading branch information
k8s-ci-robot authored Oct 2, 2019
2 parents 1b49d6f + 25b6af7 commit a6b5ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/noderefutil/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestIsNodeAvaialble(t *testing.T) {
node: &corev1.Node{Status: corev1.NodeStatus{
Conditions: []corev1.NodeCondition{
{
Type: corev1.NodeOutOfDisk,
Type: corev1.NodeDiskPressure,
Status: corev1.ConditionTrue,
},
}},
Expand Down Expand Up @@ -166,7 +166,7 @@ func TestGetReadyCondition(t *testing.T) {
nodeStatus: &corev1.NodeStatus{
Conditions: []corev1.NodeCondition{
{
Type: corev1.NodeOutOfDisk,
Type: corev1.NodeDiskPressure,
Status: corev1.ConditionTrue,
},
},
Expand Down Expand Up @@ -254,7 +254,7 @@ func TestIsNodeReady(t *testing.T) {
node: &corev1.Node{Status: corev1.NodeStatus{
Conditions: []corev1.NodeCondition{
{
Type: corev1.NodeOutOfDisk,
Type: corev1.NodeDiskPressure,
Status: corev1.ConditionTrue,
},
}},
Expand Down

0 comments on commit a6b5ba4

Please sign in to comment.