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

KeyVault multiple policies ObjectID fix #1296

Merged
merged 1 commit into from
Oct 19, 2020
Merged

KeyVault multiple policies ObjectID fix #1296

merged 1 commit into from
Oct 19, 2020

Conversation

Subreptivus
Copy link
Contributor

What this PR does / why we need it:

The range variable is overwritten at each iteration, and &policy is the same. It's end up appending a newEntry containing the same ObjectID multiple times. Simple workaround is to use a local copy of that variable.

Copy link
Member

@theunrepentantgeek theunrepentantgeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for the PR.

Copy link
Member

@babbageclunk babbageclunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That annoying gotcha! Good spotting, thanks!

@babbageclunk
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@theunrepentantgeek theunrepentantgeek merged commit 0f9b5ee into Azure:master Oct 19, 2020
@theunrepentantgeek
Copy link
Member

Thanks @Subreptivus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants