Merge pull request #1208 from LazyDBA247-Anyvision/patch-1

display bug, header is Free but data was Used
This commit is contained in:
Chris Lu 2020-02-23 21:59:51 -08:00 committed by GitHub
commit 69aeafec67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}