Ejemplo n.º 1
0
def container_history(ident):
    try:
        entity = api.get_container(ident)
        history = api.get_container_history(ident)
    except ApiException as ae:
        app.log.info(ae)
        abort(ae.status)
    return render_template('entity_history.html',
                           entity_type="container",
                           entity=entity,
                           history=history)
Ejemplo n.º 2
0
def container_history(ident):
    try:
        entity = api.get_container(ident)
        history = api.get_container_history(ident)
    except ApiException as ae:
        abort(ae.status)
    #print(history)
    return render_template('entity_history.html',
                           page_title=entity.name,
                           entity_type="container",
                           entity=entity,
                           history=history)