File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
src/aleph/vm/orchestrator/views Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ async function fetchApiStatus () {
55 details : [ ]
66 }
77 if ( q . ok ) {
8- res . status = "working properly ✅" ;
8+ res . status = " is working properly ✅" ;
99 }
1010 else {
1111 switch ( Number ( q . status ) ) {
1212 case 503 :
13- res . status = "not working properly ❌" ;
13+ res . status = " is not working properly ❌" ;
1414 res . details = await q . json ( ) ;
1515 case 500 :
16- res . status = "❌ Failed" ;
16+ res . status = " ❌ Failed" ;
1717 default :
1818 res . status = q . status ;
1919 }
@@ -67,7 +67,7 @@ async function* fetchLatestMetrics (hostname, fromDate) {
6767
6868 if ( ! countRes ?. posts [ 0 ] ?. content ?. metrics ?. crn ?. find ( node => node . url === hostname ) )
6969 throw new Error ( 'Hostname not found in metrics' ) ;
70-
70+
7171
7272 const totalPages = Math . ceil ( totalDataPoints / qp . pagination ) ;
7373 let currentPage = 0 ;
@@ -92,4 +92,4 @@ async function* fetchLatestMetrics (hostname, fromDate) {
9292 retries ++ ;
9393 }
9494 }
95- }
95+ }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ <h2>Multiaddr</h2>
4545 < h2 > Diagnostic</ h2 >
4646
4747 < p class ="virtualization-wrapper ">
48- Virtualization is
48+ Virtualization
4949 < span class ="virtualization-wrapper " id ="check ">
5050 ...
5151 < span class ="loader-container ">
@@ -116,7 +116,7 @@ <h2>Version</h2>
116116
117117 < script src ="/static/helpers.js "> </ script >
118118 < script >
119- const NODE_HOSTNAME = '$public_url' ;
119+ const NODE_HOSTNAME = '$public_url' ;
120120 const NODE_VERSION = '$version' ;
121121
122122 ( async ( ) => {
@@ -209,7 +209,7 @@ <h2>Version</h2>
209209 console . error ( err ) ;
210210 document . getElementById ( 'chart-wrapper' ) . innerHTML = err ;
211211 }
212-
212+
213213 // Creates checkboxes to disable/enable metrics
214214 Object . keys ( displayedMetrics ) . map ( field => {
215215 const wrapperDiv = document . createElement ( 'div' )
@@ -223,7 +223,7 @@ <h2>Version</h2>
223223 wrapperDiv . appendChild ( cb )
224224 wrapperDiv . appendChild ( label )
225225 document . getElementById ( 'checkboxes-wrapper' ) . appendChild ( wrapperDiv )
226-
226+
227227 cb . addEventListener ( 'change' , e => {
228228 chart . remove ( )
229229 displayedMetrics [ field ] = e . target . checked
@@ -258,4 +258,4 @@ <h2>Version</h2>
258258
259259 </ script >
260260</ body >
261- </ html >
261+ </ html >
You can’t perform that action at this time.
0 commit comments