diff options
author | James Letendre <James.Letendre@gmail.com> | 2020-12-15 19:06:06 -0500 |
---|---|---|
committer | James Letendre <James.Letendre@gmail.com> | 2020-12-15 19:06:06 -0500 |
commit | 45a02ee30cced137fad421e47d30e07b0d292015 (patch) | |
tree | 0339a9b9167ad55de888d1a2edf2022d4f6f2e5c /lib/private | |
parent | ad95e51cbed523a0f1e3f65fa2a5dd22c8d025f0 (diff) | |
download | nextcloud-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.php | 2 |
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() |