Bump golangci-lint from v1.57.2 to v1.64.5 (#8641)
Some checks failed
Run the E2E test on kind / build (push) Failing after 5m43s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2025-03-04 09:25:29 +01:00
committed by GitHub
parent 3c22de7fe3
commit 6a6a237ba7
27 changed files with 87 additions and 58 deletions

View File

@@ -58,7 +58,7 @@ func (c *CSIDataMoverVolumeInfo) Verify() error {
Expect(err).ShouldNot(HaveOccurred(), "Fail to get VolumeInfo metadata in the Backup Repository.")
fmt.Printf("The VolumeInfo metadata content: %+v\n", *volumeInfo[0])
Expect(len(volumeInfo) > 0).To(BeIdenticalTo(true))
Expect(volumeInfo).ToNot(BeEmpty())
Expect(volumeInfo[0].SnapshotDataMovementInfo).NotTo(BeNil())
return nil

View File

@@ -57,7 +57,7 @@ func (c *CSISnapshotVolumeInfo) Verify() error {
Expect(err).ShouldNot(HaveOccurred(), "Fail to get VolumeInfo metadata in the Backup Repository.")
fmt.Printf("The VolumeInfo metadata content: %+v\n", *volumeInfo[0])
Expect(len(volumeInfo) > 0).To(BeIdenticalTo(true))
Expect(volumeInfo).ToNot(BeEmpty())
Expect(volumeInfo[0].CSISnapshotInfo).NotTo(BeNil())
return nil

View File

@@ -57,7 +57,7 @@ func (f *FilesystemUploadVolumeInfo) Verify() error {
Expect(err).ShouldNot(HaveOccurred(), "Fail to get VolumeInfo metadata in the Backup Repository.")
fmt.Printf("The VolumeInfo metadata content: %+v\n", *volumeInfo[0])
Expect(len(volumeInfo) > 0).To(BeIdenticalTo(true))
Expect(volumeInfo).ToNot(BeEmpty())
Expect(volumeInfo[0].PVBInfo).NotTo(BeNil())
return nil

View File

@@ -58,7 +58,7 @@ func (n *NativeSnapshotVolumeInfo) Verify() error {
Expect(err).ShouldNot(HaveOccurred(), "Fail to get VolumeInfo metadata in the Backup Repository.")
fmt.Printf("The VolumeInfo metadata content: %+v\n", *volumeInfo[0])
Expect(len(volumeInfo) > 0).To(BeIdenticalTo(true))
Expect(volumeInfo).ToNot(BeEmpty())
Expect(volumeInfo[0].NativeSnapshotInfo).NotTo(BeNil())
return nil

View File

@@ -57,7 +57,7 @@ func (s *SkippedVolumeInfo) Verify() error {
Expect(err).ShouldNot(HaveOccurred(), "Fail to get VolumeInfo metadata in the Backup Repository.")
fmt.Printf("The VolumeInfo metadata content: %+v\n", *volumeInfo[0])
Expect(len(volumeInfo) > 0).To(BeIdenticalTo(true))
Expect(volumeInfo).ToNot(BeEmpty())
Expect(volumeInfo[0].Skipped).To(BeIdenticalTo(true))
return nil