Skip to content

Commit

Permalink
Merge pull request #497 from palvarez89/pedro/check-snapshot-restore-…
Browse files Browse the repository at this point in the history
…response

Check ContentSource when creating volume from snapshot
  • Loading branch information
k8s-ci-robot authored Aug 15, 2024
2 parents 5d5820b + 9825412 commit 80a7d3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/sanity/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,8 @@ var _ = DescribeSanity("Controller Service [Controller Server]", func(sc *TestCo
},
},
}
_, err := r.CreateVolume(context.Background(), vol2Req)
vol, err := r.CreateVolume(context.Background(), vol2Req)
Expect(vol.GetVolume().ContentSource).NotTo(BeNil())
Expect(err).NotTo(HaveOccurred())
})

Expand Down

0 comments on commit 80a7d3a

Please sign in to comment.