Repository navigation
Import.spec changes since version 0.31.0 #3244
|
I appologies for the simplistic question, but before this version the output from but now the ], Is this something that was changed on purpose ? Thank you for your time. |
Replies: 1 comment 1 reply
|
Sorry for the confusion. We did call out in the release notes:
This only applies to the generated vim25/types. The majority of the import structure is not generated, but hand written: govmomi/govc/importx/options.go Lines 53 to 59 in 2fab8d5 With the Property.{key,value} fields being one of the generated vim25/types, govmomi/govc/importx/options.go Lines 32 to 33 in 2fab8d5 The case change for import.ova input here is likely to cause more confusion that case change with output. I'll take a look at implementing a case-insensitive decoder for Property.{key,value} and we could release that with a v0.31.1 cc @akutz |
Fixed in https://github.com/vmware/govmomi/releases/tag/v0.32.0
govc import.spec will output the same case as releases prior to 0.31, but with -options input 'key' and 'value' can be lower case.
May look at making the entire spec case-insensitive in the future, but for now existing spec json will behave as in the past.