OpenStack builder: cleanup blockDeviceMappingV2
There is no need to indicate type of the list elements, remove it.
This commit is contained in:
parent
df74951309
commit
005f7e56a7
|
@ -83,7 +83,7 @@ func (s *StepRunSourceServer) Run(_ context.Context, state multistep.StateBag) m
|
||||||
if s.UseBlockStorageVolume {
|
if s.UseBlockStorageVolume {
|
||||||
volume := state.Get("volume_id").(string)
|
volume := state.Get("volume_id").(string)
|
||||||
blockDeviceMappingV2 := []bootfromvolume.BlockDevice{
|
blockDeviceMappingV2 := []bootfromvolume.BlockDevice{
|
||||||
bootfromvolume.BlockDevice{
|
{
|
||||||
BootIndex: 0,
|
BootIndex: 0,
|
||||||
DestinationType: bootfromvolume.DestinationVolume,
|
DestinationType: bootfromvolume.DestinationVolume,
|
||||||
SourceType: bootfromvolume.SourceVolume,
|
SourceType: bootfromvolume.SourceVolume,
|
||||||
|
|
Loading…
Reference in New Issue