]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict 58388/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Tue, 2 Jul 2024 07:45:56 +0000 (13:15 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Tue, 2 Jul 2024 07:47:27 +0000 (13:17 +0530)
commit9265bdb1da39637adb1f207ffc2292a7e7b1260b
tree19b9498d34d0ad0553b0cbe1825d102667e801db
parentcbc6d66d9486a2f600fd58e91cf38c1f08c45bf1
qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict

Initialize 'monitoring_profiles' to an empty python dictionary instead of
'None' to prevent the cbt task from failing due to the TypeError exception
when attempting to iterate a 'NoneType'.

The bug was introduced as part of https://github.com/ceph/ceph/pull/51438
and commit e174c6e2cf6c90bd130320eb1f251b62d4b4d6c2.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/66799
qa/tasks/cbt.py