diff options
| author | Yoni Nakache <45972051+LazyDBA247-Anyvision@users.noreply.github.com> | 2020-02-24 07:47:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-24 07:47:27 +0200 |
| commit | 0d60bb4427413cc96bbafdddf9d123d1ffcf19c4 (patch) | |
| tree | 1d724e240d4f459b8ce4f97448eac81c0269ae75 | |
| parent | e96f85ed8ab3f3e1de2993b32e90a1cf26d2e697 (diff) | |
| download | seaweedfs-0d60bb4427413cc96bbafdddf9d123d1ffcf19c4.tar.xz seaweedfs-0d60bb4427413cc96bbafdddf9d123d1ffcf19c4.zip | |
display bug, header is Free but data was Used
| -rw-r--r-- | weed/server/volume_server_ui/templates.go | 2 |
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 }} |
