mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
testifylint: enable compares rule
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -3598,7 +3598,7 @@ func assertResourceCreationOrder(t *testing.T, resourcePriorities []string, crea
|
||||
|
||||
// the index of the current resource must be the same as or greater than the index of
|
||||
// the last resource we saw for the restored order to be correct.
|
||||
assert.True(t, current >= lastSeen, "%s was restored out of order", r.groupResource)
|
||||
assert.GreaterOrEqual(t, current, lastSeen, "%s was restored out of order", r.groupResource)
|
||||
lastSeen = current
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user