File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "type" : " enhancement" ,
4+ "category" : " Retry" ,
5+ "description" : " Updates default retry mode from `legacy` to `standard` ."
6+ }
7+ ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ConfigurationProvider extends AbstractConfigurationProvider
4646 implements ConfigurationProviderInterface
4747{
4848 const DEFAULT_MAX_ATTEMPTS = 3 ;
49- const DEFAULT_MODE = 'legacy ' ;
49+ const DEFAULT_MODE = 'standard ' ;
5050 const ENV_MAX_ATTEMPTS = 'AWS_MAX_ATTEMPTS ' ;
5151 const ENV_MODE = 'AWS_RETRY_MODE ' ;
5252 const ENV_PROFILE = 'AWS_PROFILE ' ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function (ConfigurationException $e) {
107107 public function testCreatesDefaultFromFallback ()
108108 {
109109 $ this ->clearEnv ();
110- $ expected = new Configuration ('legacy ' , 3 );
110+ $ expected = new Configuration ('standard ' , 3 );
111111 /** @var ConfigurationInterface $result */
112112 $ result = call_user_func (ConfigurationProvider::fallback ())->wait ();
113113 $ this ->assertSame ($ expected ->toArray (), $ result ->toArray ());
@@ -142,7 +142,7 @@ public function testUsesIniWithUseAwsConfigFileTrue()
142142 public function testIgnoresIniWithUseAwsConfigFileFalse ()
143143 {
144144 $ dir = $ this ->clearEnv ();
145- $ expected = new Configuration ('legacy ' , 3 );
145+ $ expected = new Configuration ('standard ' , 3 );
146146 file_put_contents ($ dir . '/config ' , $ this ->iniFile );
147147 putenv ('HOME= ' . dirname ("garbageDirectory " ));
148148 /** @var ConfigurationInterface $result */
You can’t perform that action at this time.
0 commit comments