def _mv_legacy_headers_for_service(mv_service_type):
    """Workaround for services that predate standardization.

    TODO(sdague): eventually convert this to using os-service-types
    and put the logic there. However, right now this is so little
    logic, inlining it for release is a better call.

    """
    headers = []
    if mv_service_type == 'compute':
        headers.append('X-OpenStack-Nova-API-Version')
    elif mv_service_type == 'baremetal':
        headers.append('X-OpenStack-Ironic-API-Version')
    return headers
