diff --git a/.gitignore b/.gitignore index b911196..3fb5d9c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ khdb.txt khdb.txt.zip ElysiumSettings.txt -/Reports \ No newline at end of file +/Reports +/khdb-shards diff --git a/Prepare-KHDBStorage.ps1 b/Prepare-KHDBStorage.ps1 index 5cf6e62..d5ffc1e 100644 --- a/Prepare-KHDBStorage.ps1 +++ b/Prepare-KHDBStorage.ps1 @@ -963,7 +963,7 @@ if ($UploadOnly) { } try { - $manifestObject = (Get-Content -LiteralPath $manifestPath -Encoding UTF8 -Raw) | ConvertFrom-Json -Depth 6 + $manifestObject = (Get-Content -LiteralPath $manifestPath -Encoding UTF8 -Raw) | ConvertFrom-Json } catch { throw "Failed to parse manifest '$manifestPath': $($_.Exception.Message)" } @@ -1032,7 +1032,7 @@ if ($UploadOnly) { } if (Test-Path -LiteralPath $resolvedCheckpointPath) { try { - $resumeState = (Get-Content -LiteralPath $resolvedCheckpointPath -Encoding UTF8 -Raw) | ConvertFrom-Json -Depth 6 + $resumeState = (Get-Content -LiteralPath $resolvedCheckpointPath -Encoding UTF8 -Raw) | ConvertFrom-Json } catch { throw "Failed to parse checkpoint '$resolvedCheckpointPath': $($_.Exception.Message)" } diff --git a/Update-KHDB.ps1 b/Update-KHDB.ps1 index 3e2d66c..3a7b934 100644 --- a/Update-KHDB.ps1 +++ b/Update-KHDB.ps1 @@ -392,7 +392,7 @@ function Combine-StoragePath { function Load-Manifest { param([string]$Path) $raw = Get-Content -LiteralPath $Path -Encoding UTF8 -Raw - return $raw | ConvertFrom-Json -Depth 8 + return $raw | ConvertFrom-Json } function Validate-Manifest {