diff options
author | James Letendre <James.Letendre@gmail.com> | 2020-12-15 19:06:06 -0500 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-02-02 20:52:20 +0000 |
commit | 74d90d01654171fbc085216180da378327d64b7b (patch) | |
tree | 6a85c00babd11f12465652e051bd7cc8198a8bf3 | |
parent | b65b2bbf550f3947620de6e33d5ca505b7be6414 (diff) | |
download | nextcloud-server-74d90d01654171fbc085216180da378327d64b7b.tar.gz nextcloud-server-74d90d01654171fbc085216180da378327d64b7b.zip |
Fix failing tests
Signed-off-by: James Letendre <james.letendre@gmail.com>
-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 9261dd5d137..d88ef0ac8e7 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -106,7 +106,7 @@ trait S3ConnectionTrait { CredentialProvider::chain( $this->paramCredentialProvider(), CredentialProvider::env(), - CredentialProvider::assumeRoleWithWebIdentityCredentialProvider() + CredentialProvider::assumeRoleWithWebIdentityCredentialProvider(), !empty(getenv(EcsCredentialProvider::ENV_URI)) ? CredentialProvider::ecsCredentials() : CredentialProvider::instanceProfile() |