OpenPathView / OPV_Ansible

GNU General Public License v3.0
0 stars 1 forks source link

IdMalette must be an integer #42

Closed Benvii closed 6 years ago

Benvii commented 6 years ago

In the database model id_malette is always an integer the default value should also be an integer, I suggest 42 ;)

https://github.com/OpenPathView/OPV_Ansible/blob/1e8d21bac61b160e595dcb81a29c3ec2c91894c6/group_vars/all#L6

The current value causes DBRest/API to fail on new resource creation, will throw responses like "Sqlalchemy didn't like it <class 'sqlalchemy.exc.DataError'>" ( cc @zyioump ).