Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
Signed-off-by: prsurve <[email protected]>
  • Loading branch information
prsurve committed Jun 10, 2024
1 parent b9c58bc commit c991b4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocs_ci/ocs/resources/drpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ def get_drpc_name(namespace):
restore_index = config.cur_index
config.switch_acm_ctx()
drpc_obj = OCP(kind=constants.DRPC, namespace=namespace).get()["items"][0]
drpc_name = drpc_obj["metadata"]["name"]
config.switch_ctx(restore_index)
return drpc_obj["metadata"]["name"]
return drpc_name

0 comments on commit c991b4a

Please sign in to comment.