diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-24 11:58:46 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-24 11:58:46 -0600 |
commit | d1a77a9c821e391c8058f22f970c2d4f44cbce50 (patch) | |
tree | 18978b862dc12880a1f132998f7ea8e8ad65c712 | |
parent | Merge pull request #213 from Shopify/stats_sub2 (diff) | |
download | dedo-d1a77a9c821e391c8058f22f970c2d4f44cbce50.tar.gz dedo-d1a77a9c821e391c8058f22f970c2d4f44cbce50.tar.xz |
Minor fix.
-rw-r--r-- | db.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -578,7 +578,7 @@ func (s *Stats) Sub(other *Stats) Stats { if other == nil { return *s } - var diff Stat + var diff Stats diff.TxN = other.TxN - s.TxN diff.TxStats = s.TxStats.Sub(&other.TxStats) return diff |