mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 06:26:44 +00:00
testifylint: enable error-nil rule (#7670)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -179,7 +179,7 @@ func TestProcessQueueItemSkips(t *testing.T) {
|
||||
)
|
||||
|
||||
if test.restore != nil {
|
||||
assert.Nil(t, fakeClient.Create(context.Background(), test.restore))
|
||||
assert.NoError(t, fakeClient.Create(context.Background(), test.restore))
|
||||
}
|
||||
|
||||
r := NewRestoreReconciler(
|
||||
|
||||
Reference in New Issue
Block a user