Clarify repo mismatch message (fixes #331)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -516,7 +516,7 @@ found in the LICENSE file.
|
|||||||
<p class="help-block">File permission bits are ignored when looking for changes. Use on FAT filesystems.</p>
|
<p class="help-block">File permission bits are ignored when looking for changes. Use on FAT filesystems.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="nodes">Nodes</label>
|
<label for="nodes">Share With</label>
|
||||||
<div class="checkbox" ng-repeat="node in otherNodes()">
|
<div class="checkbox" ng-repeat="node in otherNodes()">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="currentRepo.selectedNodes[node.NodeID]"> {{nodeName(node)}}
|
<input type="checkbox" ng-model="currentRepo.selectedNodes[node.NodeID]"> {{nodeName(node)}}
|
||||||
|
|||||||
@@ -279,8 +279,7 @@ func (m *Model) Index(nodeID string, repo string, fs []protocol.FileInfo) {
|
|||||||
if r, ok := m.repoFiles[repo]; ok {
|
if r, ok := m.repoFiles[repo]; ok {
|
||||||
r.Replace(id, files)
|
r.Replace(id, files)
|
||||||
} else {
|
} 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()
|
m.rmut.RUnlock()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user