mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
Refactor driverinfo feature support into capabilities map
This commit is contained in:
@@ -187,7 +187,7 @@ func testProvisioning(input *provisioningTestInput) {
|
||||
})
|
||||
|
||||
It("should create and delete block persistent volumes", func() {
|
||||
if !input.dInfo.IsBlockSupported {
|
||||
if !input.dInfo.Capabilities[drivers.CapBlock] {
|
||||
framework.Skipf("Driver %q does not support BlockVolume - skipping", input.dInfo.Name)
|
||||
}
|
||||
block := v1.PersistentVolumeBlock
|
||||
|
Reference in New Issue
Block a user