From e6adb361b90681bc766f883bd38d851c28067119 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 7 Dec 2017 15:09:42 -0600 Subject: [PATCH] cleanup logging --- cluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster.go b/cluster.go index a17323783..1fddefcf3 100644 --- a/cluster.go +++ b/cluster.go @@ -336,7 +336,7 @@ func (c *Cluster) SetNodeState(state string) error { State: state, } - c.logger().Printf("Sending State %s (%s)", state, c.Coordinator.String()) + c.logger().Printf("Sending State %s (%s)", state, c.Coordinator) if err := c.sendTo(c.Coordinator, ns); err != nil { return fmt.Errorf("sending node state error: err=%s", err) } @@ -360,7 +360,7 @@ func (c *Cluster) ReceiveNodeState(uri URI, state string) error { } c.Topology.nodeStates[uri] = state - c.logger().Printf("Receiving State %s (%s)", state, uri.String()) + c.logger().Printf("Receiving State %s (%s)", state, uri) // Set cluster state to NORMAL. if c.haveTopologyAgreement() && c.allNodesReady() {