aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Nakache <45972051+LazyDBA247-Anyvision@users.noreply.github.com>2020-02-24 07:47:27 +0200
committerGitHub <noreply@github.com>2020-02-24 07:47:27 +0200
commit0d60bb4427413cc96bbafdddf9d123d1ffcf19c4 (patch)
tree1d724e240d4f459b8ce4f97448eac81c0269ae75
parente96f85ed8ab3f3e1de2993b32e90a1cf26d2e697 (diff)
downloadseaweedfs-0d60bb4427413cc96bbafdddf9d123d1ffcf19c4.tar.xz
seaweedfs-0d60bb4427413cc96bbafdddf9d123d1ffcf19c4.zip
display bug, header is Free but data was Used
-rw-r--r--weed/server/volume_server_ui/templates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go
index a2d1dd5bf..ac2a2bf69 100644
--- a/weed/server/volume_server_ui/templates.go
+++ b/weed/server/volume_server_ui/templates.go
@@ -91,7 +91,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<tr>
<td>{{ .Dir }}</td>
<td>{{ bytesToHumanReadble .All }}</td>
- <td>{{ bytesToHumanReadble .Used }}</td>
+ <td>{{ bytesToHumanReadble .Free }}</td>
<td>{{ percentFrom .All .Used}}</td>
</tr>
{{ end }}