JSON output: NumberOfSets was not set
authorMikael Berthe <mikael@lilotux.net>
Sun, 14 Oct 2018 15:44:28 +0200
changeset 40 7f9cdb9d166d
parent 39 24ca1bf4a0bf
child 41 bce80b708ddb
JSON output: NumberOfSets was not set
goduf.go
--- a/goduf.go	Sun Oct 14 15:33:53 2018 +0200
+++ b/goduf.go	Sun Oct 14 15:44:28 2018 +0200
@@ -529,6 +529,7 @@
 		}
 		results.Groups = append(results.Groups, newSet)
 	}
+	results.NumberOfSets = uint(len(results.Groups))
 	results.RedundantDataSizeH = formatSize(results.RedundantDataSize, true)
 	results.TotalFileCount = data.cmpt