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 55af691 commit 117682fCopy full SHA for 117682f
pkg/csi/driver/bv_controller.go
@@ -643,7 +643,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex
643
}
644
645
bootVolume := false
646
- if client.IsBootVolume(id) { // is this supposed to be req.VolumeId?
+ if client.IsBootVolume(req.VolumeId) {
647
if err := d.validateCapabilities([]*csi.VolumeCapability{req.VolumeCapability}, supportedBootVolumeCapabilities); err != nil {
648
return nil, status.Error(codes.InvalidArgument, err.Error())
649
0 commit comments