diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-03-19 10:35:13 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-03-19 10:35:13 -0700 |
| commit | 2d4a7ac9f9ada2d595e18965d0b6d3908078455c (patch) | |
| tree | 2cca2036dad8800171a18b49124a384f1ca1f87c /go/topology/topology.go | |
| parent | 018df9ceb04ebc96296885152cf05808ee74af5a (diff) | |
| download | seaweedfs-2d4a7ac9f9ada2d595e18965d0b6d3908078455c.tar.xz seaweedfs-2d4a7ac9f9ada2d595e18965d0b6d3908078455c.zip | |
avoid error when missing configuration file
Diffstat (limited to 'go/topology/topology.go')
| -rw-r--r-- | go/topology/topology.go | 2 |
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 } |
