Skip to content

Commit bad3b7b

Browse files
MC-38424: Support for Remote Storage
1 parent 9ac6b5e commit bad3b7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Step/Deploy/RemoteStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public function execute(): void
9797
}
9898

9999
if (isset($config['key'], $config['secret'])) {
100-
$options[] = '--remote-storage-access-key=' . $config['key'];
101-
$options[] = '--remote-storage-secret-key=' . $config['secret'];
100+
$options[] = '--remote-storage-key=' . $config['key'];
101+
$options[] = '--remote-storage-secret=' . $config['secret'];
102102
}
103103

104104
try {

src/Test/Unit/Step/Deploy/RemoteStorageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function testExecuteWithKeys(): void
115115
->with(
116116
'setup:config:set --remote-storage-driver=adapter'
117117
. ' --remote-storage-bucket=test_bucket --remote-storage-region=test_region'
118-
. ' --remote-storage-access-key=test_key --remote-storage-secret-key=test_secret -n'
118+
. ' --remote-storage-key=test_key --remote-storage-secret=test_secret -n'
119119
);
120120
$this->loggerMock->expects(self::once())
121121
->method('info')
@@ -149,7 +149,7 @@ public function testExecuteWithKeysAndPrefix(): void
149149
'setup:config:set --remote-storage-driver=adapter'
150150
. ' --remote-storage-bucket=test_bucket --remote-storage-region=test_region'
151151
. ' --remote-storage-prefix=test_prefix'
152-
. ' --remote-storage-access-key=test_key --remote-storage-secret-key=test_secret -n'
152+
. ' --remote-storage-key=test_key --remote-storage-secret=test_secret -n'
153153
);
154154
$this->loggerMock->expects(self::once())
155155
->method('info')

0 commit comments

Comments
 (0)