Merge pull request #1693 from monopole/fixSomeNits

Fix some nits.
This commit is contained in:
Jeff Regan
2019-10-25 10:30:28 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ complete plugin argument specification.
[types.GeneratorOptions]: ../../api/types/generatoroptions.go
[types.SecretArgs]: ../../api/types/secretargs.go
[types.ConfigMapArgs]: ../../api/types/configmapargs.go
[config.FieldSpec]: ../../api/plugins/builtinconfig/fieldspec.go
[config.FieldSpec]: ../../api/types/fieldspec.go
[types.ObjectMeta]: ../../api/types/objectmeta.go
[types.Selector]: ../../api/types/selector.go
[types.Replica]: ../../api/types/replica.go

View File

@@ -339,7 +339,7 @@ resources:
}, nil
},
func(d CrawledDocument, cr Crawler) error {
visited[ID()]++
visited[d.ID()]++
return nil
},
)

View File

@@ -20,7 +20,7 @@ func (c testCachedSearch) CountResults(upperBound uint64) (uint64, error) {
}
func (c testCachedSearch) RequestString(filesize rangeFormatter) string {
return RangeString()
return filesize.RangeString()
}
// TODO(damienr74) make tests easier to write.. I'm thinking I can make the test