Browse Source

run eslint

pull/200/head
LouisLam 3 years ago
committed by Matthew Macdonald-Wallace
parent
commit
debcac4924
  1. 5
      server/prometheus.js

5
server/prometheus.js

@ -45,12 +45,9 @@ class Prometheus {
} }
update(heartbeat, tlsInfo) { update(heartbeat, tlsInfo) {
// TODO: TLS Info here
if (typeof tlsInfo !== "undefined") { if (typeof tlsInfo !== "undefined") {
try { try {
var is_valid = 0 let is_valid = 0
if (tlsInfo.valid == true) { if (tlsInfo.valid == true) {
is_valid = 1 is_valid = 1
} else { } else {

Loading…
Cancel
Save