aboutsummaryrefslogtreecommitdiff
path: root/go/topology/configuration_test.go
diff options
context:
space:
mode:
authoryourchanges <yourchanges@gmail.com>2015-01-16 14:14:10 +0800
committeryourchanges <yourchanges@gmail.com>2015-01-16 14:14:10 +0800
commit47bc0f2f29dc489939884ed4ddb0748478027cc5 (patch)
treee2d91e2e3c664773e5dabd3becc1e0194a227b05 /go/topology/configuration_test.go
parent7481b7376d0349938a99b08e5dfab0b2009b2e89 (diff)
parent0bd992aa44f5410d515bbbb7868b64b4da281707 (diff)
downloadseaweedfs-47bc0f2f29dc489939884ed4ddb0748478027cc5.tar.xz
seaweedfs-47bc0f2f29dc489939884ed4ddb0748478027cc5.zip
Merge pull request #3 from chrislusf/master
merge
Diffstat (limited to 'go/topology/configuration_test.go')
-rw-r--r--go/topology/configuration_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/topology/configuration_test.go b/go/topology/configuration_test.go
index 35d82c058..0a353d16e 100644
--- a/go/topology/configuration_test.go
+++ b/go/topology/configuration_test.go
@@ -33,7 +33,7 @@ func TestLoadConfiguration(t *testing.T) {
fmt.Printf("%s\n", c)
if err != nil {
- t.Fatalf("unmarshal error:%s", err.Error())
+ t.Fatalf("unmarshal error:%v", err)
}
if len(c.Topo.DataCenters) <= 0 || c.Topo.DataCenters[0].Name != "dc1" {