diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-07-11 02:01:33 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-07-11 02:01:33 -0700 |
| commit | f7afa802505a27bb42647e5b50d30af567b88eed (patch) | |
| tree | a4857d9cf430440548809de8a5739f2b730dd20c /weed/topology/configuration.go | |
| parent | 1e1c368ae805b31bae1db88dc7940cc0268adc20 (diff) | |
| download | seaweedfs-f7afa802505a27bb42647e5b50d30af567b88eed.tar.xz seaweedfs-f7afa802505a27bb42647e5b50d30af567b88eed.zip | |
also remove volumeLayout if collection is empty
Diffstat (limited to 'weed/topology/configuration.go')
| -rw-r--r-- | weed/topology/configuration.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/configuration.go b/weed/topology/configuration.go index 42c7c140e..cb635658f 100644 --- a/weed/topology/configuration.go +++ b/weed/topology/configuration.go @@ -20,8 +20,8 @@ type topology struct { DataCenters []dataCenter `xml:"DataCenter"` } type Configuration struct { - XMLName xml.Name `xml:"Configuration"` - Topo topology `xml:"Topology"` + XMLName xml.Name `xml:"Configuration"` + Topo topology `xml:"Topology"` ip2location map[string]loc // this is not used any more. leave it here for later. } |
