mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
rbd-mirror: test: Fixed test_PoolWatcher to support the new changes in PoolWatcher class
Signed-off-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
parent
3c2615aa6d
commit
e3677f115e
@ -149,7 +149,7 @@ TestPoolWatcher() : m_lock("TestPoolWatcherLock"),
|
||||
image.close();
|
||||
|
||||
m_mirrored_images[ioctx.get_id()].insert(PoolWatcher::ImageIds(
|
||||
get_image_id(&ioctx, name), mirror_image_info.global_id));
|
||||
get_image_id(&ioctx, name), name, mirror_image_info.global_id));
|
||||
}
|
||||
if (image_name != nullptr)
|
||||
*image_name = name;
|
||||
@ -194,7 +194,7 @@ TestPoolWatcher() : m_lock("TestPoolWatcherLock"),
|
||||
image.close();
|
||||
|
||||
m_mirrored_images[cioctx.get_id()].insert(PoolWatcher::ImageIds(
|
||||
get_image_id(&cioctx, name), mirror_image_info.global_id));
|
||||
get_image_id(&cioctx, name), name, mirror_image_info.global_id));
|
||||
}
|
||||
if (image_name != nullptr)
|
||||
*image_name = name;
|
||||
|
Loading…
Reference in New Issue
Block a user