Skip to content

Commit

Permalink
UL - remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jun 28, 2021
1 parent 7e6dcea commit 6e423aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/functions/configurations/Disable-UnlimitedAdmin.ps1
Expand Up @@ -56,7 +56,7 @@ function Disable-UnlimitedAdmin {
if ($PSCmdlet.ShouldProcess("SecretId: $user", "$($invokeParams.Method) $uri with:`n$($invokeParams.Body)`n")) {
Write-Verbose "$($invokeParams.Method) $uri with:`n$($invokeParams.Body)`n"
try {
$restResponse = . $InvokeApi @invokeParams
. $InvokeApi @invokeParams
Write-Verbose 'Unlimited Admin mode Disabled'
} catch {
Write-Warning 'Issue disabling Unlimited Admin Mode'
Expand Down
2 changes: 1 addition & 1 deletion src/functions/configurations/Enable-UnlimitedAdmin.ps1
Expand Up @@ -56,7 +56,7 @@ function Enable-UnlimitedAdmin {
if ($PSCmdlet.ShouldProcess("SecretId: $user", "$($invokeParams.Method) $uri with:`n$($invokeParams.Body)`n")) {
Write-Verbose "$($invokeParams.Method) $uri with:`n$($invokeParams.Body)`n"
try {
$restResponse = . $InvokeApi @invokeParams
. $InvokeApi @invokeParams
Write-Verbose 'Unlimited Admin mode enabled'
} catch {
Write-Warning 'Issue enabling Unlimited Admin Mode'
Expand Down

0 comments on commit 6e423aa

Please sign in to comment.