Skip to content

Commit

Permalink
Update test/e2e/testutils/util/nodes.go
Browse files Browse the repository at this point in the history
Co-authored-by: aleoli <36957454+aleoli@users.noreply.github.com>
  • Loading branch information
palexster and aleoli committed Jul 5, 2021
1 parent 192351f commit 1778ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/testutils/util/nodes.go
Expand Up @@ -37,7 +37,7 @@ func CheckVirtualNodes(ctx context.Context, homeClusterClient kubernetes.Interfa
}
for index := range virtualNodes.Items {
for _, condition := range virtualNodes.Items[index].Status.Conditions {
if condition.Type == "Ready" {
if condition.Type == v1.NodeReady {
if string(condition.Status) == "False" {
return false
}
Expand Down

0 comments on commit 1778ecc

Please sign in to comment.