Simplified template renderer parsing and execution.
This commit is contained in:
parent
cb43e08183
commit
cd4cc1693c
8 changed files with 323 additions and 221 deletions
|
|
@ -195,8 +195,8 @@ func (c *cacheFlush) Tags(tags ...string) *cacheFlush {
|
|||
return c
|
||||
}
|
||||
|
||||
// Exec flushes the data from the cache
|
||||
func (c *cacheFlush) Exec(ctx context.Context) error {
|
||||
// Execute flushes the data from the cache
|
||||
func (c *cacheFlush) Execute(ctx context.Context) error {
|
||||
if len(c.tags) > 0 {
|
||||
if err := c.client.cache.Invalidate(ctx, store.InvalidateOptions{
|
||||
Tags: c.tags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue