Skip to content

Commit

Permalink
Merge pull request #92 from msau42/remove-capability-requirement
Browse files Browse the repository at this point in the history
Remove requirement for non-nil node capabilities
  • Loading branch information
lpabon authored Jul 10, 2018
2 parents 5f55e22 + 693672e commit 2f12068
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/sanity/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func isNodeCapabilitySupported(c csi.NodeClient,
&csi.NodeGetCapabilitiesRequest{})
Expect(err).NotTo(HaveOccurred())
Expect(caps).NotTo(BeNil())
Expect(caps.GetCapabilities()).NotTo(BeNil())

for _, cap := range caps.GetCapabilities() {
Expect(cap.GetRpc()).NotTo(BeNil())
Expand Down Expand Up @@ -86,7 +85,6 @@ var _ = Describe("NodeGetCapabilities [Node Server]", func() {
By("checking successful response")
Expect(err).NotTo(HaveOccurred())
Expect(caps).NotTo(BeNil())
Expect(caps.GetCapabilities()).NotTo(BeNil())

for _, cap := range caps.GetCapabilities() {
Expect(cap.GetRpc()).NotTo(BeNil())
Expand Down

0 comments on commit 2f12068

Please sign in to comment.