Lint: Fix wrong receiver name

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-09-03 00:05:46 +02:00
parent 0d5996b1b7
commit 7b921e1b3e
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -16,11 +16,11 @@ var (
type FieldCollection map[string]interface{}
func (m FieldCollection) Expect(keys ...string) error {
func (f FieldCollection) Expect(keys ...string) error {
var missing []string
for _, k := range keys {
if _, ok := m[k]; !ok {
if _, ok := f[k]; !ok {
missing = append(missing, k)
}
}