From 919fb31a16a021780c26e297e69dd295cde1787e Mon Sep 17 00:00:00 2001
From: Brian Tiger Chow <brian.holderchow@gmail.com>
Date: Mon, 27 Oct 2014 06:53:08 -0700
Subject: [PATCH] style(bitswap) rename variable to 'routing'

---
 exchange/bitswap/bitswap.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exchange/bitswap/bitswap.go b/exchange/bitswap/bitswap.go
index 7e3a57ec1..52e6f30f8 100644
--- a/exchange/bitswap/bitswap.go
+++ b/exchange/bitswap/bitswap.go
@@ -26,7 +26,7 @@ var log = u.Logger("bitswap")
 // provided NetMessage service.
 // Runs until context is cancelled
 func NetMessageSession(ctx context.Context, p peer.Peer,
-	net inet.Network, srv inet.Service, directory bsnet.Routing,
+	net inet.Network, srv inet.Service, routing bsnet.Routing,
 	d ds.ThreadSafeDatastore, nice bool) exchange.Interface {
 
 	networkAdapter := bsnet.NetMessageAdapter(srv, net, nil)
@@ -44,7 +44,7 @@ func NetMessageSession(ctx context.Context, p peer.Peer,
 		blockstore:    blockstore.NewBlockstore(d),
 		notifications: notif,
 		strategy:      strategy.New(nice),
-		routing:       directory,
+		routing:       routing,
 		sender:        networkAdapter,
 		wantlist:      u.NewKeySet(),
 	}
-- 
GitLab