mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 14:34:17 +00:00
golangci-lint: enable and fix thelper linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -77,6 +77,7 @@ func defaultTestDbr() *velerov1api.DeleteBackupRequest {
|
||||
}
|
||||
|
||||
func setupBackupDeletionControllerTest(t *testing.T, req *velerov1api.DeleteBackupRequest, objects ...runtime.Object) *backupDeletionControllerTestData {
|
||||
t.Helper()
|
||||
var (
|
||||
fakeClient = velerotest.NewFakeControllerRuntimeClient(t, append(objects, req)...)
|
||||
volumeSnapshotter = &velerotest.FakeVolumeSnapshotter{SnapshotsTaken: sets.NewString()}
|
||||
|
||||
Reference in New Issue
Block a user