projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a836b
)
19073: Fix dup tag detection.
author
Tom Clegg <tom@curii.com>
Wed, 4 May 2022 05:16:51 +0000
(
01:16
-0400)
committer
Tom Clegg <tom@curii.com>
Wed, 4 May 2022 05:16:51 +0000
(
01:16
-0400)
refs #19073
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
tilestats.go
patch
|
blob
|
history
diff --git
a/tilestats.go
b/tilestats.go
index b6284d9d017ea123ee3e64f31783941ed33d83e6..c4a0a887477d68bef8306fbda703f3450e0406ff 100644
(file)
--- a/
tilestats.go
+++ b/
tilestats.go
@@
-145,7
+145,7
@@
func (cmd *tilingStats) RunCommand(prog string, args []string, stdin io.Reader,
duptag := map[tagID]bool{}
for _, seqname := range seqnames {
for _, libref := range cseq.TileSequences[seqname] {
- if
dup, seen := duptag[libref.Tag]; seen && !dup
{
+ if
_, seen := duptag[libref.Tag]; seen
{
duptag[libref.Tag] = true
} else {
duptag[libref.Tag] = false