mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-29 04:07:40 +00:00
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -885,7 +885,6 @@ func TestTryCancelDataUpload(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUpdateDataUploadWithRetry(t *testing.T) {
|
||||
|
||||
namespacedName := types.NamespacedName{
|
||||
Name: dataUploadName,
|
||||
Namespace: "velero",
|
||||
@@ -1097,7 +1096,7 @@ func TestAttemptDataUploadResume(t *testing.T) {
|
||||
} else {
|
||||
assert.NoError(t, err)
|
||||
|
||||
// Verify DataUploads marked as Cancelled
|
||||
// Verify DataUploads marked as Canceled
|
||||
for _, duName := range test.cancelledDataUploads {
|
||||
dataUpload := &velerov2alpha1api.DataUpload{}
|
||||
err := r.client.Get(context.Background(), types.NamespacedName{Namespace: "velero", Name: duName}, dataUpload)
|
||||
|
||||
Reference in New Issue
Block a user