Skip to content

Commit

Permalink
Start-TssSecretChangePassword - correct verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Sep 10, 2021
1 parent 0223201 commit 11996cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions/secrets/Start-TssSecretChangePassword.ps1
Expand Up @@ -83,8 +83,8 @@ function Start-TssSecretChangePassword {
}
$invokeParams.Body = $rpcBody | ConvertTo-Json

if (-not $PSCmdlet.ShouldProcess("Secret ID: $secret", "$($invokeParamsOther.Method) $uri with:`t$($invokeParamsOther.Body)`n")) { return }
Write-Verbose "$($invokeParamsOther.Method) $uri with:`t$($invokeParamsOther.Body)`n"
if (-not $PSCmdlet.ShouldProcess("Secret ID: $secret", "$($invokeParams.Method) $uri with:`t$($invokeParams.Body)`n")) { return }
Write-Verbose "$($invokeParams.Method) $uri with:`t$($invokeParams.Body)`n"
try {
$apiResponse = Invoke-TssApi @invokeParams
$restResponse = . $ProcessResponse $apiResponse
Expand Down

0 comments on commit 11996cf

Please sign in to comment.