From 3afa3bea73b5f14d3c98d7dd23f0635cc2121723 Mon Sep 17 00:00:00 2001 From: chrislusf Date: Sat, 23 May 2015 10:14:18 -0700 Subject: [PATCH] Adjust log message --- go/topology/volume_layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/topology/volume_layout.go b/go/topology/volume_layout.go index e976c651e..3c1dd9503 100644 --- a/go/topology/volume_layout.go +++ b/go/topology/volume_layout.go @@ -42,7 +42,7 @@ func (vl *VolumeLayout) RegisterVolume(v *storage.VolumeInfo, dn *DataNode) { vl.vid2location[v.Id] = NewVolumeLocationList() } vl.vid2location[v.Id].Set(dn) - glog.V(4).Infoln("volume", v.Id, "added to dn", dn, "len", vl.vid2location[v.Id].Length(), "copy", v.ReplicaPlacement.GetCopyCount()) + glog.V(4).Infoln("volume", v.Id, "added to dn", dn.Id(), "len", vl.vid2location[v.Id].Length(), "copy", v.ReplicaPlacement.GetCopyCount()) if vl.vid2location[v.Id].Length() == vl.rp.GetCopyCount() && vl.isWritable(v) { vl.AddToWritable(v.Id) } else {