aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJames Letendre <James.Letendre@gmail.com>2020-12-15 19:06:06 -0500
committerJames Letendre <James.Letendre@gmail.com>2020-12-15 19:06:06 -0500
commit45a02ee30cced137fad421e47d30e07b0d292015 (patch)
tree0339a9b9167ad55de888d1a2edf2022d4f6f2e5c /lib/private
parentad95e51cbed523a0f1e3f65fa2a5dd22c8d025f0 (diff)
downloadnextcloud-server-45a02ee30cced137fad421e47d30e07b0d292015.tar.gz
nextcloud-server-45a02ee30cced137fad421e47d30e07b0d292015.zip
Fix failing tests
Signed-off-by: James Letendre <james.letendre@gmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php2
1 files changed, 1 insertions, 1 deletions
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()