if ops and current_op is not None:
# Operations are supported, verify operation index
if isinstance(ops, dict) and current_op in ops:
return ops[current_op].get("detailed-status")
if ops and current_op is not None:
# Operations are supported, verify operation index
if isinstance(ops, dict) and current_op in ops:
return ops[current_op].get("detailed-status")