summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect_scandevices.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 20:48:22 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:08 -0700
commit97fa22c161056c289a9978f20e3fb6b05d779a23 (patch)
treeaabf3ec9a0f4b8f659f4d12f4c9a31a9ddfdc247 /cmd/btrfs-rec/inspect_scandevices.go
parentb261c2a4f5f028c9d83cef208ccc7d829f841bad (diff)
lint: Turn on gomnd
Diffstat (limited to 'cmd/btrfs-rec/inspect_scandevices.go')
-rw-r--r--cmd/btrfs-rec/inspect_scandevices.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect_scandevices.go b/cmd/btrfs-rec/inspect_scandevices.go
index bca1b13..410fa4f 100644
--- a/cmd/btrfs-rec/inspect_scandevices.go
+++ b/cmd/btrfs-rec/inspect_scandevices.go
@@ -34,7 +34,7 @@ func init() {
if err := writeJSONFile(os.Stdout, results, lowmemjson.ReEncoder{
Indent: "\t",
ForceTrailingNewlines: true,
- CompactIfUnder: 16,
+ CompactIfUnder: 16, //nolint:gomnd // This is what looks Nice.
}); err != nil {
return err
}