aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2013-03-19 10:35:13 -0700
committerChris Lu <chris.lu@gmail.com>2013-03-19 10:35:13 -0700
commit2d4a7ac9f9ada2d595e18965d0b6d3908078455c (patch)
tree2cca2036dad8800171a18b49124a384f1ca1f87c
parent018df9ceb04ebc96296885152cf05808ee74af5a (diff)
downloadseaweedfs-2d4a7ac9f9ada2d595e18965d0b6d3908078455c.tar.xz
seaweedfs-2d4a7ac9f9ada2d595e18965d0b6d3908078455c.zip
avoid error when missing configuration file
-rw-r--r--go/topology/topology.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/topology/topology.go b/go/topology/topology.go
index 6f18a73ee..c9b6096de 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -54,6 +54,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
+ }else{
+ log.Println("Using default configurations.")
}
return nil
}