From 45a02ee30cced137fad421e47d30e07b0d292015 Mon Sep 17 00:00:00 2001 From: James Letendre Date: Tue, 15 Dec 2020 19:06:06 -0500 Subject: Fix failing tests Signed-off-by: James Letendre --- lib/private/Files/ObjectStore/S3ConnectionTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index cbe2f4b20a6..525abbfe8b5 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -105,7 +105,7 @@ trait S3ConnectionTrait { CredentialProvider::chain( $this->paramCredentialProvider(), CredentialProvider::env(), - CredentialProvider::assumeRoleWithWebIdentityCredentialProvider() + CredentialProvider::assumeRoleWithWebIdentityCredentialProvider(), !empty(getenv(EcsCredentialProvider::ENV_URI)) ? CredentialProvider::ecsCredentials() : CredentialProvider::instanceProfile() -- cgit v1.2.3