Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
FIX Separate Solr environment check if search is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
raissanorth committed Jan 30, 2018
1 parent 8018af1 commit 0511afd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion mysite/_config/environmentcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,20 @@ SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
db:
definition: 'SilverStripe\EnvironmentCheck\Checks\DatabaseCheck()'
title: 'Is the database accessible?'
registered_suites:
health:
- db

---
Name: cwpcoresolrenvironmentcheck
Only:
moduleexists: 'cwp/cwp-search'
---
SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
registered_checks:
solr:
definition: 'SilverStripe\EnvironmentCheck\Checks\SolrIndexCheck()'
title: 'Are all Solr indexes available?'
registered_suites:
health:
- db
- solr

0 comments on commit 0511afd

Please sign in to comment.