Skip to content

Commit

Permalink
azure: update variable for machine api compatability
Browse files Browse the repository at this point in the history
The ManagedDiskParameters variable was renamed in a recent change to the
machine api. This change updates the variable usage to match the new
name: OSDiskManagedDiskParameters.

openshift/api#1119
  • Loading branch information
jstuever committed Mar 16, 2022
1 parent 0074168 commit b5ad3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/asset/machines/azure/machines.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func provider(platform *azure.Platform, mpool *azure.MachinePool, osImage string
OSDisk: machineapi.OSDisk{
OSType: "Linux",
DiskSizeGB: mpool.OSDisk.DiskSizeGB,
ManagedDisk: machineapi.ManagedDiskParameters{
ManagedDisk: machineapi.OSDiskManagedDiskParameters{
StorageAccountType: mpool.OSDisk.DiskType,
DiskEncryptionSet: diskEncryptionSet,
},
Expand Down

0 comments on commit b5ad3f7

Please sign in to comment.