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

Minor bug fixes for issues #177

Merged
merged 3 commits into from
Jan 9, 2023
Merged

Minor bug fixes for issues #177

merged 3 commits into from
Jan 9, 2023

Conversation

wilddev65
Copy link
Collaborator

ConvertTo-TppGuid return null instead of an error when search result is empty (part of 170)
Invoke-VenafiCertificateAction always run as verbose (#173)
Set-TppAttribute gives error when using $null as value (#176)

…is empty (part of 170)

Invoke-VenafiCertificateAction always run as verbose (#173)
Set-TppAttribute gives error when using $null as value (#176)
Copy link
Collaborator

@gdbarron gdbarron left a comment

Choose a reason for hiding this comment

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

I don't think we should change ConvertTo-TppGuid. I can understand returning null when calling a Get function and the item doesn't exist, but ConvertTo requires an existing item to convert. If that item doesn't exist, that's an error imo. Same thing as a Set function. If the item you're updating doesn't exist, wouldn't we want to tell the user? If someone wants the functionality being requested, they can simply add -ErrorAction SilentlyContinue.

VenafiPS/Public/Invoke-VenafiCertificateAction.ps1 Outdated Show resolved Hide resolved
@wilddev65
Copy link
Collaborator Author

Okay, both changes have been committed as requested

@wilddev65 wilddev65 merged commit c20c631 into main Jan 9, 2023
@wilddev65 wilddev65 deleted the update-minor-fixes-dec branch January 9, 2023 16:04
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