Merge pull request #92536 from jherrera123/fix-issue-92488

Suppress expected error messages in verify-generated-files-remake.sh which cause confusion
This commit is contained in:
Kubernetes Prow Robot 2020-06-30 00:03:06 -07:00 committed by GitHub
commit 2c964aee15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,7 @@ assert_clean
touch "staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go"
echo > api/api-rules/violation_exceptions.list
echo > api/api-rules/codegen_violation_exceptions.list
if make generated_files >/dev/null; then
if make generated_files >/dev/null 2>&1; then
echo "Expected make generated_files to fail with API violations."
echo ""
exit 1