Skip to content

Commit

Permalink
fix(proxy): use accessor
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Besson <[email protected]>
  • Loading branch information
maxbes committed Jun 28, 2021
1 parent 5474385 commit 33f9c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/ObjectStore/S3ConnectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getConnection() {
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
'csm' => false,
];
if (isset($this->params['proxy'])) {
if ($this->getProxy()) {
$options['http'] = [ 'proxy' => $this->params['proxy'] ];
}
if (isset($this->params['legacy_auth']) && $this->params['legacy_auth']) {
Expand Down

0 comments on commit 33f9c89

Please sign in to comment.