Skip to content

Commit

Permalink
Merge pull request #554 from overmindtech/fix-caching
Browse files Browse the repository at this point in the history
Use defaults when caching
  • Loading branch information
dylanratcliffe authored Jul 26, 2024
2 parents 89ea749 + d331c83 commit 3d14af9
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 3d14af9

Please sign in to comment.