Skip to content

Commit 78c4797

Browse files
committed
Converted body to JSON for Certifcate Cmdlets
1 parent 55c86de commit 78c4797

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/StorageGRID-Webscale.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14416,6 +14416,8 @@ function Global:Update-SgwManagementCertificate {
1441614416
$Body.caBundleEncoded = $CaBundle
1441714417
$Body.privateKeyEncoded = $PrivateKey
1441814418

14419+
$Body = ConvertTo-Json -InputObject $Body
14420+
1441914421
Write-Verbose "Body: $Body"
1442014422

1442114423
try {
@@ -14620,6 +14622,8 @@ function Global:Update-SgwObjectCertificate {
1462014622
$Body.caBundleEncoded = $CaBundle
1462114623
$Body.privateKeyEncoded = $PrivateKey
1462214624

14625+
$Body = ConvertTo-Json -InputObject $Body
14626+
1462314627
Write-Verbose "Body: $Body"
1462414628

1462514629
try {

0 commit comments

Comments
 (0)