mirror of
https://github.com/redis/go-redis.git
synced 2025-10-29 05:29:22 +03:00
Add golangci-lint
This commit is contained in:
@@ -71,7 +71,7 @@ func (c *Pipeline) Process(cmd Cmder) error {
|
||||
// Close closes the pipeline, releasing any open resources.
|
||||
func (c *Pipeline) Close() error {
|
||||
c.mu.Lock()
|
||||
c.discard()
|
||||
_ = c.discard()
|
||||
c.closed = true
|
||||
c.mu.Unlock()
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user