Skip to content

Commit

Permalink
Use defaults when caching
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Jul 26, 2024
1 parent 89ea749 commit d331c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/get_list_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (s *GetListSource[AWSItem, ClientStruct, Options]) Get(ctx context.Context,
}
}

s.cache.StoreItem(item, s.CacheDuration, ck)
s.cache.StoreItem(item, s.cacheDuration(), ck)

return item, nil
}
Expand Down

0 comments on commit d331c83

Please sign in to comment.