

def _deployment_rollback(deployment_id):
    '\n    :param deployment_id: the application id\n    :type deployment_di: str\n    :returns: process return code\n    :rtype: int\n    '
    client = marathon.create_client()
    deployment = client.rollback_deployment(deployment_id)
    emitter.publish(deployment)
    return 0

dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py _deployment_rollback/original