aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go/topology/topology.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/go/topology/topology.go b/go/topology/topology.go
index c9b6096de..1c55138e2 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -6,6 +6,7 @@ import (
"code.google.com/p/weed-fs/go/storage"
"errors"
"io/ioutil"
+ "log"
"math/rand"
)
@@ -54,8 +55,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
- }else{
- log.Println("Using default configurations.")
+ } else {
+ log.Println("Using default configurations.")
}
return nil
}