Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge protection displayed twice in the output of Get-AzKeyVault #15164

Closed
isra-fel opened this issue Jun 2, 2021 · 2 comments · Fixed by #15167
Closed

Purge protection displayed twice in the output of Get-AzKeyVault #15164

isra-fel opened this issue Jun 2, 2021 · 2 comments · Fixed by #15167

Comments

@isra-fel
Copy link
Member

isra-fel commented Jun 2, 2021

Description

Enabled Purge Protection? appeared twice in the output of Get-AzKeyVault

image

Steps to reproduce

Get-AzKeyVault -ResourceGroupName *** -Name ***

Root cause

It's defined twice in KeyVaultformat.ps1xml
https://github.com/Azure/azure-powershell/blob/master/src/KeyVault/KeyVault/KeyVault.format.ps1xml#L513-L523

@isra-fel
Copy link
Member Author

isra-fel commented Jun 2, 2021

@BethanyZhou could you fix it if you have spare time? Thanks
(If you do, please set the correct milestone)

@isra-fel
Copy link
Member Author

isra-fel commented Jun 2, 2021

BTW the label should either be "Enabled for Purge Protection?" or "Purge Protection Enabled?"

@BethanyZhou BethanyZhou linked a pull request Jun 2, 2021 that will close this issue
8 tasks
@dingmeng-xue dingmeng-xue added this to the S188 (2021-06-15) milestone Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants