golint: get rid of underscore warnings for good.

We got another warning for force_other:

	cli_args.go:26:45: don't use underscores in Go names; struct field force_owner should be forceOwner

Use a broader grep.
This commit is contained in:
Jakob Unterwurzacher 2017-06-01 22:17:08 +02:00
parent a24faa3ba5
commit b3b10273b5

View File

@ -4,8 +4,7 @@ OUTPUT=$(
golint ./... | \
grep -v "don't use an underscore in package name" | \
grep -v "don't use ALL_CAPS in Go names; use CamelCase" |
grep -v "struct field allow_other should be allowOther" |
grep -v "struct field serialize_reads should be serializeReads"
grep -v "don't use underscores in Go names"
)
# No output --> all good