Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Commit c31b353

Browse files
committed
golint
1 parent 72deadd commit c31b353

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

network/network.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func (self *NetworkManager) RefreshChatbots() {
4040
if glog.V(2) {
4141
glog.Infoln("Entering in NetworkManager.RefreshChatbots")
4242
}
43-
4443
botConfigs := self.storage.BotConfig()
4544

4645
var current common.ChatBot
@@ -74,7 +73,7 @@ func (self *NetworkManager) RefreshChatbots() {
7473
active.Sort()
7574
numActive := len(active)
7675

77-
for currId, _ := range self.chatbots {
76+
for currId := range self.chatbots {
7877

7978
if active.Search(currId) == numActive { // if currId not in active:
8079
glog.Infoln("Stopping chatbot: ", currId)

0 commit comments

Comments
 (0)