Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishapi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishapi
Commits
c51d7cbd
Commit
c51d7cbd
authored
Aug 19, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of some unused JS variables in govarnishstat
parent
e4bb7f00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
table.go
cmd/govarnishstat/table.go
+1
-6
No files found.
cmd/govarnishstat/table.go
View file @
c51d7cbd
...
@@ -95,15 +95,12 @@ table.hitrate {
...
@@ -95,15 +95,12 @@ table.hitrate {
<script type="text/javascript">
<script type="text/javascript">
var addr = "ws://" + location.hostname + ":" + location.port
var addr = "ws://" + location.hostname + ":" + location.port
var tbl
var tbody
var tbody
var show0 = false
var show0 = false
var show0_checkbox
var show0_checkbox
var formatting = true
var formatting = true
var verbosity = "INFO"
var verbosity = "INFO"
var verbose_select
var verbose_select
var diag
var debug
function format_num(cell, val) {
function format_num(cell, val) {
if (cell.classList.contains("float")) {
if (cell.classList.contains("float")) {
...
@@ -325,15 +322,13 @@ function toggleShow0() {
...
@@ -325,15 +322,13 @@ function toggleShow0() {
}
}
window.onload = function() {
window.onload = function() {
tbl = document.getElementById("statsTbl")
var
tbl = document.getElementById("statsTbl")
tbody = tbl.getElementsByTagName('tbody')[0];
tbody = tbl.getElementsByTagName('tbody')[0];
getD9ns()
getD9ns()
getStats()
getStats()
getHitrate()
getHitrate()
verbose_select = document.getElementById("verbosity")
verbose_select = document.getElementById("verbosity")
verbose_select.addEventListener("change", setVerbosity);
verbose_select.addEventListener("change", setVerbosity);
diag = document.getElementsByClassName("DIAG")
debug = document.getElementsByClassName("DEBUG")
show0_checkbox = document.getElementById("show0")
show0_checkbox = document.getElementById("show0")
show0_checkbox.onclick = toggleShow0
show0_checkbox.onclick = toggleShow0
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment