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.
2 parents 353322d + cd92925 commit 56058adCopy full SHA for 56058ad
pub/health_check.php
@@ -51,7 +51,10 @@
51
$cacheConfigs = $deploymentConfig->get(ConfigOptionsListConstants::KEY_CACHE_FRONTEND);
52
if ($cacheConfigs) {
53
foreach ($cacheConfigs as $cacheConfig) {
54
- if (!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND]) ||
+ // allow config if only available "id_prefix"
55
+ if (count($cacheConfig) === 1 && isset($cacheConfig['id_prefix'])) {
56
+ continue;
57
+ } elseif (!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND]) ||
58
!isset($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND_OPTIONS])) {
59
http_response_code(500);
60
$logger->error("Cache configuration is invalid");
0 commit comments