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

Fix addition of assigned roles list #14924

Merged
merged 1 commit into from
May 7, 2021

Conversation

digot007
Copy link
Contributor

@digot007 digot007 commented May 7, 2021

Fixing addition of the lists. List could return a single item and added @() to handle such cases

Description

If the single item is returned instead of the list, addition of the assignedScopes will not work. Using @() to handle such cases.

Checklist

  • [Yes] I have read the Submitting Changes section of CONTRIBUTING.md
  • [Yes] The title of the PR is clear and informative
  • [Yes] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [Yes] The PR does not introduce breaking changes
  • [Yes] If applicable, the changes made in the PR have proper test coverage
  • [NotApplicable] For public API changes to cmdlets:
    • [ NotApplicable] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • [NotApplicable] the markdown help files have been regenerated using the commands listed here

Fixing addition of the lists. List could return a single item and added @() to handle such cases
@wyunchi-ms wyunchi-ms merged commit af4ae02 into master May 7, 2021
@wyunchi-ms wyunchi-ms deleted the user/digot/fixpermissionlistsadd branch January 10, 2024 01:58
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.

2 participants