Skip to content
Commit b77fe269 authored by diazb's avatar diazb
Browse files

Removes try except block from creation of database tables



In case there is an error connecting to the database engine, or the database
is not yet created, POL should fail. This is specially relevant to avoid race
conditions in Docker and K8s deployments using MySQL/MariaDB, because peewee
needs the database to already exist.

Change-Id: Iabe46c1c4f718919e10fc65271d0e814c5f9a146
Signed-off-by: default avatarBenjamin Diaz <bdiaz@whitestack.com>
parent c15e564b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment