Skip to content

Commit

Permalink
fix 50 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron authored Dec 14, 2021
1 parent 602d35c commit 9e651b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.5.1
- Older versions of TPP failing to update attributes, [#50](https://github.com/gdbarron/VenafiPS/issues/50)
- Fix pipeline for `-Path` parameter with `Set-TppAttribute`

## 3.5.0
- BREAKING CHANGE: change parameter `-NewName` to `-NewPath` in `Rename-TppObject` to allow moving an object in addition to renaming
- Add `Convert-TppObject` to change the class/type of an existing object
Expand Down
9 changes: 2 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
- BREAKING CHANGE: change parameter `-NewName` to `-NewPath` in `Rename-TppObject` to allow moving an object in addition to renaming
- Add `Convert-TppObject` to change the class/type of an existing object
- Fix typos in examples for `Add-TppCertificateAssociation` and `Remove-TppCertificateAssociation`
- Set the default for `-Path` in `Find-TppObject` to \ved\policy. Running `Find-TppObject` without a path will now recursively search from \ved\policy.
- Add additional pipeline options to `Get-TppAttribute`
- Add help and examples to `Invoke-VenafiRestMethod`, [#48](https://github.com/gdbarron/VenafiPS/issues/48)
- Set VenafiSession default value in `Invoke-VenafiRestMethod`, [#47](https://github.com/gdbarron/VenafiPS/issues/47)
- Older versions of TPP failing to update attributes, [#50](https://github.com/gdbarron/VenafiPS/issues/50)
- Fix pipeline for `-Path` parameter with `Set-TppAttribute`
4 changes: 2 additions & 2 deletions VenafiPS/Public/Set-TppAttribute.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config
#>
function Set-TppAttribute {

[CmdletBinding(SupportsShouldProcess)]
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = 'Object')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', '', Justification = 'Being flagged incorrectly')]

param (
Expand Down Expand Up @@ -178,7 +178,7 @@ function Set-TppAttribute {
else {
$baseFields += @{
Name = $thisKey
Value = $thisValue
Value = @($thisValue)
}
}
}
Expand Down

0 comments on commit 9e651b6

Please sign in to comment.