Skip to content

Commit

Permalink
fixed the Close method
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Nov 22, 2024
1 parent b110a4b commit 5f7ddb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (c *Cache) Close() error {
time.Sleep(2 * time.Second)
}

return nil
return c.cache.Close()
}

// GetDBType implements the Repository interface.
Expand Down

0 comments on commit 5f7ddb9

Please sign in to comment.