Switch health to use a data interface
This commit is contained in:
parent
ca5a47edad
commit
4853634c2f
3 changed files with 22 additions and 3 deletions
8
health/models_pre_oci.py
Normal file
8
health/models_pre_oci.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from data.model import health
|
||||
from health.models_interface import HealthCheckDataInterface
|
||||
|
||||
class PreOCIModel(HealthCheckDataInterface):
|
||||
def check_health(self, app_config):
|
||||
return health.check_health(app_config)
|
||||
|
||||
pre_oci_model = PreOCIModel()
|
Reference in a new issue