We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128de36 commit c54ea7eCopy full SHA for c54ea7e
pkg/select/blockdevice/select.go
@@ -58,7 +58,7 @@ func (c *Config) getCandidateDevices(bdList *apis.BlockDeviceList) (*apis.BlockD
58
FilterBlockDeviceName,
59
)
60
} else {
61
- if c.ClaimSpec.DeviceType != "sparse" {
+ if c.ClaimSpec.DeviceType != blockdevice.SparseBlockDeviceType {
62
// Unless explicitly specify DeviceType as sparse, device sparse will not be included
63
filterKeys = append(filterKeys, FilterOutSparseBlockDevices)
64
}
0 commit comments