Skip to content

Commit 9825412

Browse files
committed
Check ContentSource when creating volume from snapshot
1 parent 4fecb35 commit 9825412

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
@@ -588,7 +588,8 @@ var _ = DescribeSanity("Controller Service [Controller Server]", func(sc *TestCo
588588
},
589589
},
590590
}
591-
_, err := r.CreateVolume(context.Background(), vol2Req)
591+
vol, err := r.CreateVolume(context.Background(), vol2Req)
592+
Expect(vol.GetVolume().ContentSource).NotTo(BeNil())
592593
Expect(err).NotTo(HaveOccurred())
593594
})
594595

0 commit comments

Comments
 (0)