diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2020-05-29 10:12:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 10:12:20 -0700 |
| commit | ea93d21641ca96cde2b71031a33f390a549090a6 (patch) | |
| tree | 6dad9d73f5fd3dbe96fbdf2d3eb0b018fae5a84a /weed/server | |
| parent | 5837fe72fc097ce3db4cd839cfc0f6dfe09f9051 (diff) | |
| parent | 1f8782a1ed504e5f7e7b62218bcf4502903d350f (diff) | |
| download | seaweedfs-ea93d21641ca96cde2b71031a33f390a549090a6.tar.xz seaweedfs-ea93d21641ca96cde2b71031a33f390a549090a6.zip | |
Merge pull request #1337 from bingoohuang/master
add Volume Ids column only for max 100 volumes for convenience in the master ui.
Diffstat (limited to 'weed/server')
| -rw-r--r-- | weed/server/master_ui/templates.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/server/master_ui/templates.go b/weed/server/master_ui/templates.go index b674e3f82..7189064d0 100644 --- a/weed/server/master_ui/templates.go +++ b/weed/server/master_ui/templates.go @@ -76,6 +76,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html> <th>Rack</th> <th>RemoteAddr</th> <th>#Volumes</th> + <th>Volume Ids</th> <th>#ErasureCodingShards</th> <th>Max</th> </tr> @@ -89,6 +90,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html> <td>{{ $rack.Id }}</td> <td><a href="http://{{ $dn.Url }}/ui/index.html">{{ $dn.Url }}</a></td> <td>{{ $dn.Volumes }}</td> + <td>{{ $dn.VolumeIds}}</td> <td>{{ $dn.EcShards }}</td> <td>{{ $dn.Max }}</td> </tr> |
