backup manager _is_our_backup check faulty

Bug #2039588 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

https://opendev.org/openstack/cinder/src/commit/5ea10b2ecc41ad235cbdbbf94b4a1de98e30e470/cinder/backup/manager.py#L592

_is_our_backup has a check at line 592 for "if not backup", but if backup were None, line 590 would have already thrown an AttributeError.

(Detected while adding type annotations to backup/manager.py)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.