cloudapi/v2: adapt to new oapi-codegen
Fixed distribution list type, function signatures (later versions parse uuids in the generated code), defaults actually being set and added x-go-type where needed.
This commit is contained in:
parent
17416bf60b
commit
7652af83d7
12 changed files with 511 additions and 554 deletions
|
|
@ -187,7 +187,7 @@ func newAzureTarget(options UploadOptions, imageType distro.ImageType) (*target.
|
|||
|
||||
hypvgen := target.HyperVGenV1
|
||||
if azureUploadOptions.HyperVGeneration != nil &&
|
||||
*azureUploadOptions.HyperVGeneration == AzureUploadOptionsHyperVGenerationV2 {
|
||||
*azureUploadOptions.HyperVGeneration == AzureUploadOptionsHyperVGeneration(V2) {
|
||||
hypvgen = target.HyperVGenV2
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue