| commit | b77fe26906b4acdf5f2b110f07433382520f44ff | [log] [tgz] |
|---|---|---|
| author | Benjamin Diaz <bdiaz@whitestack.com> | Wed Jan 02 23:13:32 2019 -0300 |
| committer | Benjamin Diaz <bdiaz@whitestack.com> | Fri Feb 01 09:46:33 2019 -0300 |
| tree | 6f4874f865f04b217232c3e2857bdba7c1071018 | |
| parent | c15e564b6fa2b11cc2db0c710c985fb46e0bdad6 [diff] |
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: Benjamin Diaz <bdiaz@whitestack.com>