Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 71a0dfb

Browse files
Julien CherryPaul Nikonowicz
authored andcommitted
Change stemcell_formats field to be an array
[#152737863] Signed-off-by: Paul Nikonowicz <pnikonowicz@pivotal.io>
1 parent 010649f commit 71a0dfb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,8 @@ operating_system: windows%[1]s
456456
cloud_properties:
457457
infrastructure: vsphere
458458
hypervisor: esxi
459-
stemcell_formats: vsphere-ova
459+
stemcell_formats:
460+
- vsphere-ova
460461
`
461462
return fmt.Sprintf(format, osVersion, version, sha1sum)
462463

main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ operating_system: windows1
446446
cloud_properties:
447447
infrastructure: vsphere
448448
hypervisor: esxi
449-
stemcell_formats: vsphere-ova
449+
stemcell_formats:
450+
- vsphere-ova
450451
`
451452
if result != expectedManifest {
452453
t.Errorf("result:\n%s\ndoes not match expected\n%s\n", result, expectedManifest)

0 commit comments

Comments
 (0)