summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0027_get_hardware.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-02-09 12:07:59 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-02-09 13:13:53 +0100
commit4d2e1dd31cb82f96822966d960b5bd9e1cea59d1 (patch)
tree38a35dbbcd59c3994045ab001a3a58d9d1b7700c /tests/units/test_0027_get_hardware.py
parent6a7a846e6e075628a8b4afbe3cd0df8a570a0126 (diff)
#1004 Fix client setup disk size showing as 0
og_cmd_get_client_setup is querying the database for computers disk setup information. This includes the size of a disk or a partition, which are stored as BIGINT in the database. Using dbi_result_get_int will result in an error as libdbi expects to store this kind of data type in a long long instead of an int. Fix disk size variable declaration and use the correct dbi_result_get function for this particular data column.
Diffstat (limited to 'tests/units/test_0027_get_hardware.py')
0 files changed, 0 insertions, 0 deletions