aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2020-02-23 21:59:51 -0800
committerGitHub <noreply@github.com>2020-02-23 21:59:51 -0800
commit69aeafec679dac290e9b9803a802f0898db41fb1 (patch)
tree1d724e240d4f459b8ce4f97448eac81c0269ae75
parente96f85ed8ab3f3e1de2993b32e90a1cf26d2e697 (diff)
parent0d60bb4427413cc96bbafdddf9d123d1ffcf19c4 (diff)
downloadseaweedfs-69aeafec679dac290e9b9803a802f0898db41fb1.tar.xz
seaweedfs-69aeafec679dac290e9b9803a802f0898db41fb1.zip
Merge pull request #1208 from LazyDBA247-Anyvision/patch-1
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 }}