Allow repo mismatches to proceed (ref #223)

This commit is contained in:
Jakob Borg
2014-05-28 12:39:33 +02:00
parent b44016ff70
commit 5369a62fd5
3 changed files with 3 additions and 11 deletions

View File

@@ -275,7 +275,8 @@ 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 nonexistant repo %q; dropping", nodeID, repo)
l.Warnf("Index from %s for unexpected repo %q; verify configuration", nodeID, repo)
}
m.rmut.RUnlock()
}