Clarify repo mismatch message (fixes #331)

This commit is contained in:
Jakob Borg
2014-06-04 14:17:48 +02:00
parent bec5c76631
commit afc2d6fda4
3 changed files with 3 additions and 4 deletions

View File

@@ -279,8 +279,7 @@ func (m *Model) Index(nodeID string, repo string, fs []protocol.FileInfo) {
if r, ok := m.repoFiles[repo]; ok {
r.Replace(id, files)
} else {
l.Warnf("Index from %s for unexpected repo %q; verify configuration", nodeID, repo)
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)
}
m.rmut.RUnlock()
}