Skip to content

Commit b892bcc

Browse files
author
Dragos Avadanei
committed
more review feedback - writing the deleted certificate on passthrough
1 parent 4cb144c commit b892bcc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultCertificate.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ protected override void ProcessRecord()
107107

108108
if (PassThru.IsPresent)
109109
{
110-
var certificate = KeyVaultCertificate.FromCertificateBundle(certBundle);
111-
this.WriteObject(certificate);
110+
WriteObject( certBundle );
112111
}
113112
}
114113
}

0 commit comments

Comments
 (0)