mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-11 14:41:16 -07:00
gofmt, style improvements
This commit is contained in:
2
cache/redis/redis.go
vendored
2
cache/redis/redis.go
vendored
@@ -145,7 +145,7 @@ func (tx *Tx) Rollback() error {
|
||||
return cache.ErrTxDone
|
||||
}
|
||||
// Undoes watches and multi
|
||||
if _, err := tx.Do("DISCARD") ; err != nil {
|
||||
if _, err := tx.Do("DISCARD"); err != nil {
|
||||
return err
|
||||
}
|
||||
tx.multi = false
|
||||
|
||||
Reference in New Issue
Block a user