Files
kubernetes/hack
Kubernetes Submit Queue b94f7eabd9 Merge pull request #50355 from shashidharatd/verify-flags
Automatic merge from submit-queue (batch tested with PRs 49615, 49321, 49982, 49788, 50355)

Simplify hack/verify-flags-underscore.py

**What this PR does / why we need it**:
This PR removes the need for `hack/verify-flags/known-flags.txt` and verify-flags-underscore.py will always parse the flags from go files to check if they have underscore.

It is much faster compared to earlier checks and it does its job to check for underscore in flags.
Now:
```
# time ./hack/verify-flags-underscore.py 
real	0m1.638s
user	0m1.560s
sys	0m0.076s
```
Before:
```
# time ./hack/verify-flags-underscore.py 
real	0m22.585s
user	0m22.464s
sys	0m0.112s
```

It has become a pain to keep adding new flag to `known-flags.txt` whenever a new flag is introduced. with this PR this is step is not required anymore.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #40329  #50319

**Special notes for your reviewer**:

**Release note**:
```
NONE
```
/cc @fejta @mtaufen
2017-08-09 23:56:07 -07:00
..
2017-07-25 11:05:18 -07:00
2017-08-10 05:21:51 +05:30
2017-08-10 06:46:46 +03:00
2017-08-02 18:33:32 -07:00
2017-02-01 15:18:32 -05:00
2017-07-05 14:24:25 -07:00
2017-07-25 12:11:07 -07:00
2017-08-02 10:39:26 -07:00
2016-12-06 13:45:10 -05:00
2017-07-20 07:41:37 +02:00
2017-05-19 10:17:37 -06:00
2016-12-14 06:03:00 -08:00