We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4c2b9e commit 7f2661aCopy full SHA for 7f2661a
1 file changed
src/StorageGRID-Webscale.psm1
@@ -3225,15 +3225,13 @@ function Global:Remove-SgwAccount {
3225
$Method = "DELETE"
3226
3227
try {
3228
- $Response = Invoke-SgwRequest -WebSession $Server.Session -Method $Method -Uri $Uri -Headers $Server.Headers -SkipCertificateCheck:$Server.SkipCertificateCheck
+ $null = Invoke-SgwRequest -WebSession $Server.Session -Method $Method -Uri $Uri -Headers $Server.Headers -SkipCertificateCheck:$Server.SkipCertificateCheck
3229
Write-Verbose "Successfully deleted account with ID $id"
3230
}
3231
catch {
3232
$ResponseBody = ParseErrorForResponseBody $_
3233
Throw "$Method to $Uri failed with Exception $( $_.Exception.Message ) `n $responseBody"
3234
3235
-
3236
- Write-Output $Response
3237
3238
3239
0 commit comments