Fix typo - second edition (#1206)
This commit is contained in:
parent
b91d77436f
commit
5a0306ce0c
@ -37,7 +37,7 @@ func (cache *overlaycache) SelectNodes(ctx context.Context, count int, criteria
|
||||
|
||||
func (cache *overlaycache) SelectNewNodes(ctx context.Context, count int, criteria *overlay.NewNodeCriteria) ([]*pb.Node, error) {
|
||||
return cache.queryFilteredNodes(ctx, criteria.Excluded, count, `
|
||||
WHERE node_type == ? AND free_bandwidth >= ? AND free_disk >= ?
|
||||
WHERE node_type = ? AND free_bandwidth >= ? AND free_disk >= ?
|
||||
AND audit_count < ?
|
||||
`, int(criteria.Type), criteria.FreeBandwidth, criteria.FreeDisk,
|
||||
criteria.AuditThreshold,
|
||||
|
Loading…
Reference in New Issue
Block a user