Explorar o código

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

Jakob Borg %!s(int64=11) %!d(string=hai) anos
pai
achega
a47ee86bee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {
-		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
 	}