PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/s3/Aws/Sts/RegionalEndpoints/ConfigurationProvider.php +2 -2 1.0.2 → 1.4.2 View file →
@@ -43,9 +43,9 @@
43 43 * </code>
44 44 */
45 45 class ConfigurationProvider extends AbstractConfigurationProvider implements ConfigurationProviderInterface
46 46 {
47 - const DEFAULT_ENDPOINTS_TYPE = 'legacy';
47 + const DEFAULT_ENDPOINTS_TYPE = 'regional';
48 48 const ENV_ENDPOINTS_TYPE = 'AWS_STS_REGIONAL_ENDPOINTS';
49 49 const ENV_PROFILE = 'AWS_PROFILE';
50 50 const INI_ENDPOINTS_TYPE = 'sts_regional_endpoints';
51 51 public static $cacheKey = 'aws_sts_regional_endpoints_config';
@@ -102,9 +102,9 @@
102 102 */
103 103 public static function fallback()
104 104 {
105 105 return function () {
106 - return Promise\Create::promiseFor(new Configuration(self::DEFAULT_ENDPOINTS_TYPE));
106 + return Promise\Create::promiseFor(new Configuration(self::DEFAULT_ENDPOINTS_TYPE, \true));
107 107 };
108 108 }
109 109 /**
110 110 * Config provider that creates config using a config file whose location