Commit 7899ddb3 authored by Daniele Venzano's avatar Daniele Venzano

Update version numbers and fix wrong import

parent 748a45d7
......@@ -25,7 +25,7 @@ import docker
import docker.errors
from zoe_scheduler.stats import SwarmStats, SwarmNodeStats, ContainerStats
from common.exceptions import ZoeException
from zoe_lib.exceptions import ZoeException
log = logging.getLogger(__name__)
......
ZOE_LIB_VERSION = '0.9'
ZOE_VERSION = '0.9.0'
ZOE_API_VERSION = '0.5'
ZOE_APPLICATION_FORMAT_VERSION = '1'
......@@ -21,13 +21,12 @@ import zoe_web.web.start
import zoe_web.web.status
import zoe_web.web.applications
from zoe_lib.version import ZOE_API_VERSION, ZOE_LIB_VERSION
from zoe_lib.version import ZOE_API_VERSION, ZOE_VERSION
@web_bp.context_processor
def inject_version():
return {
'zoe_lib_version': ZOE_LIB_VERSION,
'zoe_lib_version': ZOE_VERSION,
'zoe_api_version': ZOE_API_VERSION,
'zoe_web_version': '0.3'
}
......@@ -55,7 +55,7 @@
{% block footer %}
<div class="status_line">
<p>
<span id="app_name"><a href="http://zoe-analytics.eu">Zoe web</a> v. {{ zoe_web_version }}</span>
<span id="app_name"><a href="http://zoe-analytics.eu">Zoe</a> v. {{ zoe_version }}</span>
<!-- <span id="status">
[<span id="num_nodes">N/A</span> swarm nodes, <span id="num_containers">N/A</span> active containers]
</span> -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment