mirror of
https://github.com/ceph/ceph
synced 2024-12-25 12:54:16 +00:00
4c67888ad8
Fixes: https://tracker.ceph.com/issues/42636 Signed-off-by: Jos Collin <jcollin@redhat.com>
16 lines
290 B
Python
16 lines
290 B
Python
"""
|
|
Thrasher base class
|
|
"""
|
|
class Thrasher(object):
|
|
|
|
def __init__(self):
|
|
super(Thrasher, self).__init__()
|
|
self._exception = None
|
|
|
|
@property
|
|
def exception(self):
|
|
return self._exception
|
|
|
|
def set_thrasher_exception(self, e):
|
|
self._exception = e
|