Skip to content

Commit 7df8c1b

Browse files
Fixed bootVolume name bug (#2297)
1 parent 757bcce commit 7df8c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/scope/machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ func (m *MachineScope) volumeToVPCVolumeAttachment(volume *infrav1beta2.VPCVolum
427427
}
428428

429429
if volume.Name != "" {
430-
bootVolume.Volume.Name = core.StringPtr(volume.Name)
430+
bootVolume.Name = core.StringPtr(volume.Name)
431431
}
432432

433433
if volume.Profile != "" {

0 commit comments

Comments
 (0)