From 3df1aa26be896fbec8e8d9ddb692f17531cc662b Mon Sep 17 00:00:00 2001 From: anitarua Date: Thu, 24 Aug 2023 10:25:25 -0700 Subject: [PATCH] fix config used in new tests --- momento/cache_client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/momento/cache_client_test.go b/momento/cache_client_test.go index 33fcd764..64ffcaaf 100644 --- a/momento/cache_client_test.go +++ b/momento/cache_client_test.go @@ -65,7 +65,7 @@ var _ = Describe("CacheClient", func() { It(`Supports constructing a Lambda config with a logger`, func() { _, err := NewCacheClient( - config.InRegionLatestWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)), + config.LambdaWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)), sharedContext.CredentialProvider, sharedContext.DefaultTtl, ) @@ -76,7 +76,7 @@ var _ = Describe("CacheClient", func() { It(`Supports constructing a Lambda config with a logger with eager connections`, func() { _, err := NewEagerCacheClient( - config.InRegionLatestWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)), + config.LambdaWithLogger(momento_default_logger.NewDefaultMomentoLoggerFactory(momento_default_logger.INFO)), sharedContext.CredentialProvider, sharedContext.DefaultTtl, 30*time.Second,