Skip to content

Commit

Permalink
Merge pull request #51324 from rhcs-dashboard/wip-59622-pacific
Browse files Browse the repository at this point in the history
pacific: mgr/dashboard: fix the rbd mirroring configure check

Reviewed-by: cloudbehl <NOT@FOUND>
  • Loading branch information
nizamial09 committed May 23, 2023
2 parents cfc2442 + e23a650 commit bb06a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/dashboard/controllers/rbd_mirroring.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def status(self):
# using dashboard.
if not orch_status['available']:
return status
if not CephService.get_service_list('rbd-mirror') or not CephService.get_pool_list('rbd'):
if not CephService.get_service_list('rbd-mirror') and not CephService.get_pool_list('rbd'):
status['available'] = False
status['message'] = 'RBD mirroring is not configured' # type: ignore
return status
Expand Down

0 comments on commit bb06a6d

Please sign in to comment.