aboutsummaryrefslogtreecommitdiff
path: root/go/topology/configuration_test.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2015-01-13 17:04:41 -0800
committerChris Lu <chris.lu@gmail.com>2015-01-13 17:04:41 -0800
commitaf416189f1dfdb621bb0ecc5483b915fb179ac6f (patch)
tree00e1827530a333cc683188bb71808f371b135d6e /go/topology/configuration_test.go
parent5afdc469a3d96c168e250af1c16a5c4419accedc (diff)
downloadseaweedfs-af416189f1dfdb621bb0ecc5483b915fb179ac6f.tar.xz
seaweedfs-af416189f1dfdb621bb0ecc5483b915fb179ac6f.zip
Cleanup error printing.
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" {