Skip to content

Commit a5b0e61

Browse files
author
maddieclayton
committed
address comments
1 parent 4f0146c commit a5b0e61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault/Models/PSDeletedKeyVaultCertificate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ internal PSDeletedKeyVaultCertificate(DeletedCertificateBundle deletedCertificat
6767

6868
if (deletedCertificateBundle.Tags != null)
6969
{
70-
Tags = (deletedCertificateBundle.Tags == null) ? null : deletedCertificateBundle.Tags.ConvertToHashtable();
70+
Tags = deletedCertificateBundle.Tags.ConvertToHashtable();
7171
}
7272

7373
ScheduledPurgeDate = deletedCertificateBundle.ScheduledPurgeDate;
@@ -123,7 +123,7 @@ internal PSDeletedKeyVaultCertificate(DeletedCertificateBundle deletedCertificat
123123

124124
if (deletedCertificateBundle.Tags != null)
125125
{
126-
Tags = (deletedCertificateBundle.Tags == null) ? null : deletedCertificateBundle.Tags.ConvertToHashtable();
126+
Tags = deletedCertificateBundle.Tags.ConvertToHashtable();
127127
}
128128

129129
ScheduledPurgeDate = deletedCertificateBundle.ScheduledPurgeDate;

src/ResourceManager/KeyVault/Commands.KeyVault/help/Backup-AzureKeyVaultSecret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This command retrieves the secret named MySecret from the key vaultnamed MyKeyVa
5959
### Example 3: Back up a secret previously retrieved to a specified file name
6060
```powershell
6161
PS C:\> $secret = Get-AzureKeyVaultSecret -VaultName 'MyKeyVault' -Name 'MySecret'
62-
PS C:\> Backup-AzureKeyVaultSecret -InputObject $secret -OutputFile 'C:\Backup.blob'
62+
PS C:\> Backup-AzureKeyVaultSecret -Secret $secret -OutputFile 'C:\Backup.blob'
6363
6464
C:\Backup.blob
6565
```

0 commit comments

Comments
 (0)