Skip to content

Commit

Permalink
secrets - correct part reference
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Aug 5, 2021
1 parent c537ce5 commit dc8d55f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/functions/secrets/Get-TssSecret.ps1
Expand Up @@ -122,7 +122,7 @@ function Get-TssSecret {
)
begin {
$tssParams = $PSBoundParameters
$invokeParams = . $GetInvokeTssParams $TssSession
$invokeParams = . $GetInvokeApiParams $TssSession

$restrictedParamSet = . $ParameterSetParams $PSCmdlet.MyInvocation.MyCommand.Name 'restricted'
$restrictedParams = @()
Expand Down
4 changes: 2 additions & 2 deletions src/functions/secrets/Get-TssSecretStub.ps1
Expand Up @@ -50,7 +50,7 @@ function Get-TssSecretStub {
)
begin {
$tssParams = $PSBoundParameters
$invokeParams = . $GetInvokeTssParams $TssSession
$invokeParams = . $GetInvokeApiParams $TssSession
}

process {
Expand All @@ -70,7 +70,7 @@ function Get-TssSecretStub {
Write-Verbose "$($invokeParams.Method) $uri"
try {
$apiResponse = Invoke-TssApi @invokeParams
$restResponse = . $InvokeApi $apiResponse
$restResponse = . $ProcessResponse $apiResponse
} catch {
Write-Warning "Issue getting secret stub template [$SecretTemplateId]"
$err = $_
Expand Down
2 changes: 1 addition & 1 deletion src/functions/secrets/Get-TssSecretSummary.ps1
Expand Up @@ -53,7 +53,7 @@ function Get-TssSecretSummary {
Write-Verbose "Performing the operation $($invokeParams.Method) $uri with $body"
try {
$apiResponse = Invoke-TssApi @invokeParams
$restResponse = . $InvokeApi $apiResponse
$restResponse = . $ProcessResponse $apiResponse
} catch {
Write-Warning "Issue getting summary for Secret [$secret]"
$err = $_
Expand Down

0 comments on commit dc8d55f

Please sign in to comment.