Import.spec changes since version 0.31.0 #3244
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 |
Beta Was this translation helpful? Give feedback.
-
I appologies for the simplistic question, but before this version the output from
govc import.spec
was something like this:{
"Key": "dns_servers",
"Value": ""
},
{
"Key": "ntp_servers",
"Value": ""
}
],
"NetworkMapping": [
{
"Name": "net0",
"Network": ""
},
{
"Name": "net1",
"Network": ""
}
but now the
Key
andValue
in the PropertyMapping are lowercase and the rest for example in NetworkMapping sections are still uppercase:],
"NetworkMapping": [
{
"Name": "net0",
"Network": ""
},
Is this something that was changed on purpose ? Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions