aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/configuration.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-07-11 02:01:33 -0700
committerChris Lu <chris.lu@gmail.com>2018-07-11 02:01:33 -0700
commitf7afa802505a27bb42647e5b50d30af567b88eed (patch)
treea4857d9cf430440548809de8a5739f2b730dd20c /weed/topology/configuration.go
parent1e1c368ae805b31bae1db88dc7940cc0268adc20 (diff)
downloadseaweedfs-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.go4
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.
}