Skip to content

Commit c964ea9

Browse files
author
Kamran Khan
committed
Rename OsVolumeEncryptionSettings back for back-compat
1 parent 48c3945 commit c964ea9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AzureDiskEncryption/GetAzureDiskEncryptionStatus.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public override void ExecuteCmdlet()
219219
{
220220
OsVolumeEncrypted = osVolumeEncrypted,
221221
DataVolumesEncrypted = dataVolumesEncrypted,
222-
VolumeEncryptionSettings = osVolumeEncryptionSettings
222+
OsVolumeEncryptionSettings = osVolumeEncryptionSettings
223223
};
224224
WriteObject(encryptionStatus);
225225
break;

src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.format.ps1xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@
553553
<PropertyName>DataVolumesEncrypted</PropertyName>
554554
</ListItem>
555555
<ListItem>
556-
<Label>VolumeEncryptionSettings</Label>
557-
<PropertyName>VolumeEncryptionSettings</PropertyName>
556+
<Label>OsVolumeEncryptionSettings</Label>
557+
<PropertyName>OsVolumeEncryptionSettings</PropertyName>
558558
</ListItem>
559559
</ListItems>
560560
</ListEntry>

src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ enum EncryptionStatus
1313
class AzureDiskEncryptionStatusContext
1414
{
1515
public EncryptionStatus OsVolumeEncrypted { get; set; }
16-
public DiskEncryptionSettings VolumeEncryptionSettings { get; set; }
16+
public DiskEncryptionSettings OsVolumeEncryptionSettings { get; set; }
1717
public EncryptionStatus DataVolumesEncrypted { get; set; }
1818
}
1919
}

0 commit comments

Comments
 (0)