From aab0c5df7755a98f344cbe7e965436c01110ff68 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Tue, 10 Oct 2017 20:26:52 +0000 Subject: [PATCH] Disable maligned check. Signed-off-by: Lantao Liu --- hack/verify-lint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/verify-lint.sh b/hack/verify-lint.sh index d2ad34406..259397946 100755 --- a/hack/verify-lint.sh +++ b/hack/verify-lint.sh @@ -25,6 +25,7 @@ for d in $(find . -type d -a \( -iwholename './pkg*' -o -iwholename './cmd*' \)) --exclude='duplicate of.*_test.go.*\(dupl\)$' \ --exclude='.*/mock_.*\.go:.*\(golint\)$' \ --exclude='declaration of "err" shadows declaration.*\(vetshadow\)$' \ + --exclude='struct of size .* could be .* \(maligned\)$' \ --disable=aligncheck \ --disable=gotype \ --disable=gas \