Skip to content

Commit 80a7d3a

Browse files
authored
Merge pull request #497 from palvarez89/pedro/check-snapshot-restore-response
Check ContentSource when creating volume from snapshot
2 parents 5d5820b + 9825412 commit 80a7d3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/sanity/controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,8 @@ var _ = DescribeSanity("Controller Service [Controller Server]", func(sc *TestCo
580580
},
581581
},
582582
}
583-
_, err := r.CreateVolume(context.Background(), vol2Req)
583+
vol, err := r.CreateVolume(context.Background(), vol2Req)
584+
Expect(vol.GetVolume().ContentSource).NotTo(BeNil())
584585
Expect(err).NotTo(HaveOccurred())
585586
})
586587

0 commit comments

Comments
 (0)