Skip to content

Commit 6e325bd

Browse files
committed
fixed addional config
1 parent 3b7c842 commit 6e325bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,13 +464,13 @@ variables:
464464
description: "Configuration the backend model for valkey cache."
465465
type: string
466466
allowed:
467-
- 'Cm_Cache_Backend_Valkey'
467+
- 'Cm_Cache_Backend_Redis'
468468
- '\Magento\Framework\Cache\Backend\Valkey'
469469
- '\Magento\Framework\Cache\Backend\RemoteSynchronizedCache'
470470
stages:
471471
- deploy
472472
default:
473-
deploy: 'Cm_Cache_Backend_Valkey'
473+
deploy: 'Cm_Cache_Backend_Redis'
474474
examples:
475475
- stage:
476476
deploy:

src/Config/Factory/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public function __construct(
109109
public function get(): array
110110
{
111111
$envCacheConfiguration = (array)$this->stageConfig->get(DeployInterface::VAR_CACHE_CONFIGURATION);
112-
$envCacheRadisBackendModel = (string)$this->stageConfig->get(DeployInterface::VAR_CACHE_REDIS_BACKEND);
113-
$envCacheValkeyBackendModel = (string)$this->stageConfig->get(DeployInterface::VAR_CACHE_VALKEY_BACKEND);
112+
$envCacheRadisBackendModel = (string)$this->stageConfig->get(DeployInterface::VAR_CACHE_REDIS_BACKEND);
113+
$envCacheValkeyBackendModel = (string)$this->stageConfig->get(DeployInterface::VAR_CACHE_VALKEY_BACKEND);
114114

115115
if ($this->isCacheConfigurationValid($envCacheConfiguration)
116116
&& !$this->configMerger->isMergeRequired($envCacheConfiguration)

0 commit comments

Comments
 (0)