Skip to content

Commit

Permalink
Test-SdkClient - adjust return false logic
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jun 15, 2021
1 parent 45db8b4 commit 8d0cd20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/functions/authentication/Test-SdkClient.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,12 @@ function Test-SdkClient {
} else {
return $false
}
}
if ($tssInitOutput -eq 'Not connected') {
return $false
} else {
if ($tssStatusOutput -eq 'Not connected') {
return $false
} else {
return $false
}
}
} catch {
Write-Warning "Issue checking status of SDK Client (tss) for [$SecretServer]"
Expand Down

0 comments on commit 8d0cd20

Please sign in to comment.