diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-30 22:06:46 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-30 23:05:17 -0700 |
commit | fffb8ca73af4fd9e1df353ccf779e89fe097d8ce (patch) | |
tree | 745da4f3d17c5069ea061d731eb6faaa9d86590f /cmd/btrfs-rec/inspect_rebuildmappings.go | |
parent | 86063b41fc1a235930d6c79e6b7cd38ae8d8c147 (diff) |
Upgrade to lowmemjson v0.3.0
Diffstat (limited to 'cmd/btrfs-rec/inspect_rebuildmappings.go')
-rw-r--r-- | cmd/btrfs-rec/inspect_rebuildmappings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect_rebuildmappings.go b/cmd/btrfs-rec/inspect_rebuildmappings.go index e1f273c..51f0327 100644 --- a/cmd/btrfs-rec/inspect_rebuildmappings.go +++ b/cmd/btrfs-rec/inspect_rebuildmappings.go @@ -47,7 +47,7 @@ func init() { } dlog.Infof(ctx, "Writing reconstructed mappings to stdout...") - if err := writeJSONFile(os.Stdout, fs.LV.Mappings(), lowmemjson.ReEncoder{ + if err := writeJSONFile(os.Stdout, fs.LV.Mappings(), lowmemjson.ReEncoderConfig{ Indent: "\t", ForceTrailingNewlines: true, CompactIfUnder: 120, //nolint:gomnd // This is what looks nice. |