We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d7a0d commit cd92925Copy full SHA for cd92925
pub/health_check.php
@@ -43,7 +43,10 @@
43
$cacheConfigs = $deploymentConfig->get(ConfigOptionsListConstants::KEY_CACHE_FRONTEND);
44
if ($cacheConfigs) {
45
foreach ($cacheConfigs as $cacheConfig) {
46
- if (!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND]) ||
+ // allow config if only available "id_prefix"
47
+ if (count($cacheConfig) === 1 && isset($cacheConfig['id_prefix'])) {
48
+ continue;
49
+ } elseif (!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND]) ||
50
!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND_OPTIONS])) {
51
http_response_code(500);
52
$logger->error("Cache configuration is invalid");
0 commit comments