Skip to content

Commit c6cbd25

Browse files
MCLOUD-13710: OS2 fix for >=2.4.4-p14 <2.4.5 added in OpenSearch & InstallCommandFactory classes
1 parent 462daed commit c6cbd25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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/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)