Skip to content

Commit 11144ce

Browse files
Merge branch 'develop' into MCLOUD-13593
2 parents f2846a6 + 4e76edf commit 11144ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Service/OpenSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(
5151
*/
5252
public function getFullEngineName(): string
5353
{
54-
if ($this->magentoVersion->satisfies('2.4.4-p13 || >=2.4.5-p12')) {
54+
if ($this->magentoVersion->satisfies('>=2.4.4-p13 <2.4.5 || >=2.4.5-p12')) {
5555
return static::ENGINE_NAME;
5656
}
5757

src/Service/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Validator
100100
ServiceInterface::NAME_OPENSEARCH => [
101101
'>=2.3.7-p3 <2.4.0 || >=2.4.3-p2 <2.4.4-p7 || >=2.4.5 <2.4.5-p7' => '~1.1.0 || 1.2.*',
102102
'>=2.4.4-p8 <2.4.4-p12 || >=2.4.5-p6 <2.4.5-p11' => '1.3.*',
103-
'2.4.4-p13 || >=2.4.5-p12' => '^2'
103+
'>=2.4.4-p13 <2.4.5 || >=2.4.5-p12' => '^2'
104104
],
105105
ServiceInterface::NAME_RABBITMQ => [
106106
'<2.3.0' => '~3.5.0',

src/Step/Deploy/InstallUpdate/Install/Setup/InstallCommandFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private function getEsOptions(): array
268268
$configuration = $this->openSearch->getConfiguration();
269269
$isAuthEnabled = $this->openSearch->isAuthEnabled();
270270

271-
if ($this->magentoVersion->satisfies('2.4.4-p13 || >=2.4.5-p12')) {
271+
if ($this->magentoVersion->satisfies('>=2.4.4-p13 <2.4.5 || >=2.4.5-p12')) {
272272
$enginePrefixName = 'opensearch';
273273
}
274274
} else {

0 commit comments

Comments
 (0)