浏览代码

Don't show 100 warnings for unknown repo at connect when once is enough

Jakob Borg 11 年之前
父节点
当前提交
a47ee86bee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      model/model.go

+ 1 - 1
model/model.go

@@ -371,7 +371,7 @@ func (m *Model) IndexUpdate(nodeID protocol.NodeID, repo string, fs []protocol.F
 	}
 	}
 
 
 	if !m.repoSharedWith(repo, nodeID) {
 	if !m.repoSharedWith(repo, nodeID) {
-		l.Warnf("Unexpected repository ID %q sent from node %q; ensure that the repository exists and that this node is selected under \"Share With\" in the repository configuration.", repo, nodeID)
+		l.Infof("Update for unexpected repository ID %q sent from node %q; ensure that the repository exists and that this node is selected under \"Share With\" in the repository configuration.", repo, nodeID)
 		return
 		return
 	}
 	}