diff --git a/src/aleph/vm/orchestrator/views/static/helpers.js b/src/aleph/vm/orchestrator/views/static/helpers.js index 7648f4460..aced57b66 100644 --- a/src/aleph/vm/orchestrator/views/static/helpers.js +++ b/src/aleph/vm/orchestrator/views/static/helpers.js @@ -5,15 +5,15 @@ async function fetchApiStatus () { details: [] } if(q.ok){ - res.status = "working properly ✅"; + res.status = " is working properly ✅"; } else { switch(Number(q.status)){ case 503: - res.status = "not working properly ❌"; + res.status = " is not working properly ❌"; res.details = await q.json(); case 500: - res.status = "❌ Failed"; + res.status = " ❌ Failed"; default: res.status = q.status; } @@ -67,7 +67,7 @@ async function* fetchLatestMetrics (hostname, fromDate) { if(!countRes?.posts[0]?.content?.metrics?.crn?.find(node => node.url === hostname)) throw new Error('Hostname not found in metrics'); - + const totalPages = Math.ceil(totalDataPoints / qp.pagination); let currentPage = 0; @@ -92,4 +92,4 @@ async function* fetchLatestMetrics (hostname, fromDate) { retries++; } } -} \ No newline at end of file +} diff --git a/src/aleph/vm/orchestrator/views/templates/index.html b/src/aleph/vm/orchestrator/views/templates/index.html index 86035473b..6e1cc5a0e 100644 --- a/src/aleph/vm/orchestrator/views/templates/index.html +++ b/src/aleph/vm/orchestrator/views/templates/index.html @@ -45,7 +45,7 @@
- Virtualization is
+ Virtualization
...
@@ -116,7 +116,7 @@ Version