Merge pull request #53599 from mml/query-incompatible-disallow

Automatic merge from submit-queue (batch tested with PRs 52662, 53547, 53588, 53573, 53599). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

query --incompatible_comprehension_variables_do_not_leak=false

Also set this flag for `bazel query`

See #52677

```release-note
NONE
```

/assign ixdy
This commit is contained in:
Kubernetes Submit Queue 2017-10-09 12:51:25 -07:00 committed by GitHub
commit 175a6dee47

View File

@ -14,11 +14,14 @@ build --sandbox_fake_username
# rules_go@82483596ec203eb9c1849937636f4cbed83733eb has a typo that
# inadvertently relies on comprehension variables leaking.
# TODO(ixdy): Remove this default once rules_go is bumped.
# TODO(ixdy): Remove these defaults once rules_go is bumped.
# Ref kubernetes/kubernetes#52677
build --incompatible_comprehension_variables_do_not_leak=false
query --incompatible_comprehension_variables_do_not_leak=false
# TODO(ixdy): remove the following once repo-infra is bumped.
build --incompatible_disallow_set_constructor=false
query --incompatible_disallow_set_constructor=false
# Enable go race detection.
test --features=race